diff options
author | 2012-10-05 01:30:28 +0000 | |
---|---|---|
committer | 2012-10-05 01:30:28 +0000 | |
commit | 4abc5217cb98410306a3bae3aadc81d584e78f2f (patch) | |
tree | c31827fbe2dfe769c416b0649f4fe1a9aa5bc5d4 /lib/libc/sys | |
parent | Add targets for the 6k and 8k bit moduli components (diff) | |
download | wireguard-openbsd-4abc5217cb98410306a3bae3aadc81d584e78f2f.tar.xz wireguard-openbsd-4abc5217cb98410306a3bae3aadc81d584e78f2f.zip |
add send(2) MSG_DONTWAIT support which enables us to choose nonblocking
or blocking for each send(2) call.
diff from UMEZAWA Takeshi
ok bluhm
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/send.2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2 index d58588f5c91..d91d2b8053a 100644 --- a/lib/libc/sys/send.2 +++ b/lib/libc/sys/send.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: send.2,v 1.26 2012/04/11 14:08:27 deraadt Exp $ +.\" $OpenBSD: send.2,v 1.27 2012/10/05 01:30:28 yasuoka Exp $ .\" $NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)send.2 8.2 (Berkeley) 2/21/94 .\" -.Dd $Mdocdate: April 11 2012 $ +.Dd $Mdocdate: October 5 2012 $ .Dt SEND 2 .Os .Sh NAME @@ -103,6 +103,8 @@ bypass routing, use direct interface .It Dv MSG_NOSIGNAL don't send .Dv SIGPIPE +.It Dv MSG_DONTWAIT +don't block .El .Pp The flag |