diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-02 07:11:35 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-01-02 07:11:35 +0000 |
commit | 33e58d3c9e1282b210313c8ee46daeb74edb99e8 (patch) | |
tree | 00269ffbf9d8b2debd1dbd2ee1b68815239c46c6 /libc/unistd/getopt-susv3.c | |
parent | 950fed3a6bb8a4e24b4d6a6c7a3a2f7b11b42b77 (diff) |
Rewrite popen for SUSv3 compliance.
Added a list of popen()'d to store pids and use waitpid() in pclose().
Loop on waitpid() failure due to EINTR as required.
Close parent's popen()'d FILEs in the {v}fork()'d child.
Fix failure exit code for failed execve().
Diffstat (limited to 'libc/unistd/getopt-susv3.c')
0 files changed, 0 insertions, 0 deletions