diff options
author | 2015-03-22 22:32:03 +0000 | |
---|---|---|
committer | 2015-03-22 22:32:03 +0000 | |
commit | e12686f24eee65d490603988be24fdd2817291f6 (patch) | |
tree | c0ae753b2e83604a88d4080db60131f5c33e3097 /lib/libc/stdio/tempnam.c | |
parent | Resolve a mandoc -Tlint warning about trailing whitespace. (diff) | |
download | wireguard-openbsd-e12686f24eee65d490603988be24fdd2817291f6.tar.xz wireguard-openbsd-e12686f24eee65d490603988be24fdd2817291f6.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 'lib/libc/stdio/tempnam.c')
0 files changed, 0 insertions, 0 deletions