UbixOS
2.0
|
#include <sys/thread.h>
#include <sys/sysproto_posix.h>
#include <sys/pipe.h>
#include <sys/descrip.h>
#include <sys/video.h>
#include <string.h>
Go to the source code of this file.
Functions | |
int | sys_pipe2 (struct thread *thr, struct sys_pipe2_args *args) |
int sys_pipe2 | ( | struct thread * | thr, |
struct sys_pipe2_args * | args | ||
) |
Definition at line 36 of file kern_pipe.c.
References file::data, falloc(), file::fd_type, sys_pipe2_args::fildes, kmalloc(), memset(), pipeInfo::rFD, pipeInfo::rfdCNT, thread::td_retval, pipeInfo::wFD, and pipeInfo::wfdCNT.