diff options
author | Maxim Konovalov <maxim@FreeBSD.org> | 2006-04-15 13:37:35 +0000 |
---|---|---|
committer | Maxim Konovalov <maxim@FreeBSD.org> | 2006-04-15 13:37:35 +0000 |
commit | 6ad8b89261f4b1a0aea46f6b5af30a5a13bf70b1 (patch) | |
tree | 851fb50768663a5877d28611e97574552cd4689d /lib | |
parent | 858a52f46425ce4e1b69b7c2462aab2b77b2acf9 (diff) | |
download | src-6ad8b89261f4b1a0aea46f6b5af30a5a13bf70b1.tar.gz src-6ad8b89261f4b1a0aea46f6b5af30a5a13bf70b1.zip |
o Document SO_NOSIGPIPE, touch .Dd.
PR: docs/78479
Submitted by: Mikko Tyolajarvi
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=157775
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 7177e1b55627..24610a39827c 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -32,7 +32,7 @@ .\" @(#)getsockopt.2 8.4 (Berkeley) 5/2/95 .\" $FreeBSD$ .\" -.Dd May 2, 1995 +.Dd April 15, 2006 .Dt GETSOCKOPT 2 .Os .Sh NAME @@ -163,6 +163,7 @@ and set with .It Dv SO_SNDTIMEO Ta "set timeout value for output" .It Dv SO_RCVTIMEO Ta "set timeout value for input" .It Dv SO_ACCEPTFILTER Ta "set accept filter on listening socket" +.It Dv SO_NOSIGPIPE Ta "controls generation of SIGPIPE for the socket" .It Dv SO_TYPE Ta "get the type of the socket (get only)" .It Dv SO_ERROR Ta "get and clear error on the socket (get only)" .El @@ -356,6 +357,13 @@ Passing in an .Fa optval of NULL will remove the filter. .Pp +The +.Dv SO_NOSIGPIPE +option controls generation of the SIGPIPE signal normally sent +when writing to a connected socket where the other end has been +closed returns with the error +.Er EPIPE . +.Pp Finally, .Dv SO_TYPE and |