summaryrefslogtreecommitdiff
path: root/lib/libc/sys/pipe.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace use of the pipe(2) system call with pipe2(2) with a zero flagsBrooks Davis2016-06-221-0/+47
value. This eliminates the need for machine dependant assembly wrappers for pipe(2). It also make passing an invalid address to pipe(2) return EFAULT rather than triggering a segfault. Document this behavior (which was already true for pipe2(2), but undocumented). Reviewed by: andrew Approved by: re (gjb) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D6815 Notes: svn path=/head/; revision=302092