diff options
author | halex <> | 2015-03-22 22:32:03 +0000 |
---|---|---|
committer | halex <> | 2015-03-22 22:32:03 +0000 |
commit | 3a7bcc595f44463445b2912c74757f2e0c5c5eb8 (patch) | |
tree | 2b4bd16eea1f4ceb5c2f56f495cf05e0e96227dd /src/lib/libc/stdlib/exit.3 | |
parent | 2726156be030e091258537fe7ca338f221ab9277 (diff) | |
download | openbsd-3a7bcc595f44463445b2912c74757f2e0c5c5eb8.tar.gz openbsd-3a7bcc595f44463445b2912c74757f2e0c5c5eb8.tar.bz2 openbsd-3a7bcc595f44463445b2912c74757f2e0c5c5eb8.zip |
differentiate between a failed read, returning -1, and encountering
end-of-file, returning 0, in order not to print an unrelated
strerror(errno) in the latter case
ok millert@
Diffstat (limited to 'src/lib/libc/stdlib/exit.3')
0 files changed, 0 insertions, 0 deletions