summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlcpy.c
diff options
context:
space:
mode:
authorbluhm <>2015-01-13 17:35:35 +0000
committerbluhm <>2015-01-13 17:35:35 +0000
commit9d1112e0335b8725290afa68e01914dbc2df0606 (patch)
tree675defc54ce1d8f4c3d5203592fb373c717de34d /src/lib/libc/string/strlcpy.c
parentfb6f4574b472c3157361e3f9a0ca5a2d11f47dae (diff)
downloadopenbsd-9d1112e0335b8725290afa68e01914dbc2df0606.tar.gz
openbsd-9d1112e0335b8725290afa68e01914dbc2df0606.tar.bz2
openbsd-9d1112e0335b8725290afa68e01914dbc2df0606.zip
For non-blocking sockets tls_connect_fds() could fail with EAGAIN.
Use the same logic from the read, write, accept functions to inform the caller wether a readable or writable socket is needed. After that event, the connect function must be called again. All the checks before connecting are done only once. OK tedu@
Diffstat (limited to 'src/lib/libc/string/strlcpy.c')
0 files changed, 0 insertions, 0 deletions