summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-08-03 20:24:16 +0000
committermillert <millert@openbsd.org>2001-08-03 20:24:16 +0000
commit648a1c6aeee264beb3e7e217f0765866e037527f (patch)
tree3f8ee87f7f404cc924bae786c4eae0837d8501c9 /lib/libpthread
parentsync (diff)
downloadwireguard-openbsd-648a1c6aeee264beb3e7e217f0765866e037527f.tar.xz
wireguard-openbsd-648a1c6aeee264beb3e7e217f0765866e037527f.zip
Open files with O_NONBLOCK but turn off non-blocking mode for
non-ttys. If write(2) returns EAGAIN just ignore the error and move on. This prevents a locked terminal from causing syslogd grief. If we ever want to support logging to a fifo this will probably have to be revisited.
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions