summaryrefslogtreecommitdiff
path: root/libc/unistd/getlogin.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-02 07:11:35 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-02 07:11:35 +0000
commit33e58d3c9e1282b210313c8ee46daeb74edb99e8 (patch)
tree00269ffbf9d8b2debd1dbd2ee1b68815239c46c6 /libc/unistd/getlogin.c
parent950fed3a6bb8a4e24b4d6a6c7a3a2f7b11b42b77 (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/getlogin.c')
0 files changed, 0 insertions, 0 deletions