diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-01-15 22:28:24 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-01-15 22:28:24 +0000 |
commit | aa6a40524062c4e2820d947600553d18b168821d (patch) | |
tree | 8fdb32356c8c83c523a55c0cdb9529f0e2b36d2a /include/strings.h | |
parent | 0d86addc8be53da5f2bc6c6d6b531a2225309968 (diff) |
Keep in memory whether the socket is writable. This way sio_revents()
can return POLLOUT (if requested), even the handle was not writable when
sio_pollfd() was called but become writable somewhere in the code path
of sio_revents().
This should improve stability of programs using very small buffers.
Diffstat (limited to 'include/strings.h')
0 files changed, 0 insertions, 0 deletions