Searched hist:250159 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10-stable/include/ | ||
H A D | unistd.h | diff 250159 Wed May 01 20:50:28 MDT 2013 jilles Add pipe2() system call. The pipe2() function is similar to pipe() but allows setting FD_CLOEXEC and O_NONBLOCK (on both sides) as part of the function. If p points to two writable ints, pipe2(p, 0) is equivalent to pipe(p). If the pointer is not valid, behaviour differs: pipe2() writes into the array from the kernel like socketpair() does, while pipe() writes into the array from an architecture-specific assembler wrapper. Reviewed by: kan, kib |
Completed in 60 milliseconds