summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tempnam.c
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2015-03-22 22:32:03 +0000
committerhalex <halex@openbsd.org>2015-03-22 22:32:03 +0000
commite12686f24eee65d490603988be24fdd2817291f6 (patch)
treec0ae753b2e83604a88d4080db60131f5c33e3097 /lib/libc/stdio/tempnam.c
parentResolve a mandoc -Tlint warning about trailing whitespace. (diff)
downloadwireguard-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