diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-05-27 18:32:16 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-05-28 21:22:47 +0200 |
| commit | 8efc0168adafa12c3be361a72829ce07b230b111 (patch) | |
| tree | 25b93b5e616b0e5e4b08d90901867fd5e5bdf467 /man7/signal.7 | |
| parent | 9c0381af73706b451cb6fadf9abf3298aefc7485 (diff) | |
| download | man-pages-8efc0168adafa12c3be361a72829ce07b230b111.tar.gz | |
signal.7: Clarify text describing EINTR semantics for socket interfaces
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/signal.7')
| -rw-r--r-- | man7/signal.7 | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/man7/signal.7 b/man7/signal.7 index 064dfa1284..a2f238c949 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -717,29 +717,30 @@ when interrupted by a signal handler: .\" on interruption by a signal handler. .RS 4 .IP * 2 -Socket interfaces, when a timeout has been set on the socket using +"Input" socket interfaces, when a timeout +.RB ( SO_RCVTIMEO ) +has been set on the socket using .BR setsockopt (2): .BR accept (2), .BR recv (2), .BR recvfrom (2), .BR recvmmsg (2) -(with a non-NULL +(also with a non-NULL .IR timeout argument), and -.BR recvmsg (2), -if a receive timeout +.BR recvmsg (2). +.IP * +"Output" socket interfaces, when a timeout .RB ( SO_RCVTIMEO ) -has been set; +has been set on the socket using +.BR setsockopt (2): .BR connect (2), .BR send (2), .BR sendto (2), and .\" FIXME What about sendmmsg()? -.BR sendmsg (2), -if a send timeout -.RB ( SO_SNDTIMEO ) -has been set. +.BR sendmsg (2). .IP * Interfaces used to wait for signals: .BR pause (2), @@ -796,20 +797,24 @@ on other systems. The Linux interfaces that display this behavior are: .RS 4 .IP * 2 -Socket interfaces, when a timeout has been set on the socket using +"Input" socket interfaces, when a timeout +.RB ( SO_RCVTIMEO ) +has been set on the socket using .BR setsockopt (2): .BR accept (2), .BR recv (2), .BR recvfrom (2), .BR recvmmsg (2) -(with a non-NULL +(also with a non-NULL .IR timeout argument), and -.BR recvmsg (2), -if a receive timeout +.BR recvmsg (2). +.IP * +"Output" socket interfaces, when a timeout .RB ( SO_RCVTIMEO ) -has been set; +has been set on the socket using +.BR setsockopt (2): .BR connect (2), .BR send (2), .BR sendto (2), |
