summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/socket.28
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
OpenPOWER on IntegriCloud