diff options
author | das <das@FreeBSD.org> | 2008-06-29 17:17:14 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-06-29 17:17:14 +0000 |
commit | 7b38a318a44fcf3fe1c18946c7c242ee9c3fd7d4 (patch) | |
tree | 5423b93086c8d5a9dcb344cc0c74959336fca0c4 /lib/libc/sys | |
parent | d97ee39b6076b326ab7fdf5789df34204a18008f (diff) | |
download | FreeBSD-src-7b38a318a44fcf3fe1c18946c7c242ee9c3fd7d4.zip FreeBSD-src-7b38a318a44fcf3fe1c18946c7c242ee9c3fd7d4.tar.gz |
Make it clearer that it is possible to disable the generation of
SIGPIPE for individual sockets (PR: kern/118626).
While here, s/insure/ensure/.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/socket.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 1cf3af8..c0028fa 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -168,7 +168,7 @@ and received as described in .Pp The communications protocols used to implement a .Dv SOCK_STREAM -insure that data +ensure that data is not lost or duplicated. If a piece of data for which the peer protocol has buffer space cannot be successfully transmitted @@ -187,11 +187,11 @@ roughly every minute in the absence of other activity. An error is then indicated if no response can be elicited on an otherwise idle connection for an extended period (e.g.\& 5 minutes). -A +By default, a .Dv SIGPIPE signal is raised if a process sends -on a broken stream; this causes naive processes, -which do not handle the signal, to exit. +on a broken stream, but this behavior may be inhibited via +.Xr setsockopt 2 . .Pp .Dv SOCK_SEQPACKET sockets employ the same system calls |