diff options
author | brooks <brooks@FreeBSD.org> | 2016-06-22 21:11:27 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2016-06-22 21:11:27 +0000 |
commit | ecead64b414c307960363fbbb9925c7dd8a20fdd (patch) | |
tree | 140928f4a0a736777b084ada0a5c3d1ccc4401e4 /lib/libc/stdio/setbuf.c | |
parent | a8b2bf94923e9d19ec8834944663693093600a6b (diff) | |
download | FreeBSD-src-ecead64b414c307960363fbbb9925c7dd8a20fdd.zip FreeBSD-src-ecead64b414c307960363fbbb9925c7dd8a20fdd.tar.gz |
Replace use of the pipe(2) system call with pipe2(2) with a zero flags
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
Diffstat (limited to 'lib/libc/stdio/setbuf.c')
0 files changed, 0 insertions, 0 deletions