summaryrefslogtreecommitdiffstats
path: root/tools/regression/usr.bin/sed
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-11-11 14:55:59 +0000
committered <ed@FreeBSD.org>2008-11-11 14:55:59 +0000
commit8d12469978678c211dcedcae430fb7091bd504b6 (patch)
treeecda9024889970adebb651c82cfc5ec015d4a7e5 /tools/regression/usr.bin/sed
parent5b802b524bc0cd8e922224203f9cbeb05b7e8308 (diff)
downloadFreeBSD-src-8d12469978678c211dcedcae430fb7091bd504b6.zip
FreeBSD-src-8d12469978678c211dcedcae430fb7091bd504b6.tar.gz
Several cleanups related to pipe(2).
- Use `fildes[2]' instead of `*fildes' to make more clear that pipe(2) fills an array with two descriptors. - Remove EFAULT from the manual page. Because of the current calling convention, pipe(2) raises a segmentation fault when an invalid address is passed. - Introduce kern_pipe() to make it easier for binary emulations to implement pipe(2). - Make Linux binary emulation use kern_pipe(), which means we don't have to recover td_retval after calling the FreeBSD system call. Approved by: rdivacky Discussed on: arch
Diffstat (limited to 'tools/regression/usr.bin/sed')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud