diff options
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/getsockopt.2 | 13 | ||||
| -rw-r--r-- | lib/libc/sys/send.2 | 8 |
2 files changed, 8 insertions, 13 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 312aa28396a..cefce112404 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.43 2014/03/06 17:38:28 jmc Exp $ +.\" $OpenBSD: getsockopt.2,v 1.44 2014/03/27 13:27:28 mpi Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: March 6 2014 $ +.Dd $Mdocdate: March 27 2014 $ .Dt GETSOCKOPT 2 .Os .Sh NAME @@ -142,7 +142,7 @@ enables duplicate address and port bindings .It Dv SO_KEEPALIVE enables keep connections alive .It Dv SO_DONTROUTE -enables routing bypass for outgoing messages +enables routing bypass; not supported .It Dv SO_LINGER linger on close if data present .It Dv SO_BROADCAST @@ -195,11 +195,6 @@ Should the connected party fail to respond to these messages, the connection is considered broken and processes using the socket are notified via a .Dv SIGPIPE signal when attempting to send data. -.Dv SO_DONTROUTE -indicates that outgoing messages should -bypass the standard routing facilities. -Instead, messages are directed to the appropriate network interface -according to the network portion of the destination address. .Pp .Dv SO_LINGER controls the action taken when unsent messages @@ -471,6 +466,8 @@ The argument is a file, not a socket. .It Bq Er ENOPROTOOPT The option is unknown at the level indicated. +.It Bq Er EOPNOTSUPP +The option is unsupported. .It Bq Er EFAULT The address pointed to by .Fa optval diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2 index d91d2b8053a..2884dd658ed 100644 --- a/lib/libc/sys/send.2 +++ b/lib/libc/sys/send.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: send.2,v 1.27 2012/10/05 01:30:28 yasuoka Exp $ +.\" $OpenBSD: send.2,v 1.28 2014/03/27 13:27:28 mpi 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: October 5 2012 $ +.Dd $Mdocdate: March 27 2014 $ .Dt SEND 2 .Os .Sh NAME @@ -99,7 +99,7 @@ parameter may include one or more of the following: .It Dv MSG_OOB process out-of-band data .It Dv MSG_DONTROUTE -bypass routing, use direct interface +bypass routing tables, silently ignored .It Dv MSG_NOSIGNAL don't send .Dv SIGPIPE @@ -116,8 +116,6 @@ data on sockets that support this notion (e.g., the underlying protocol must also support .Dq out-of-band data. -.Dv MSG_DONTROUTE -is usually used only by diagnostic or routing programs. .Dv MSG_NOSIGNAL is used to request not to send the .Dv SIGPIPE |
