OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man7 / signal.7
index 0af3688..09ef95e 100644 (file)
@@ -43,7 +43,7 @@
 .\"     Added section on stop/cont signals interrupting syscalls.
 .\" 2008-10-05, mtk: various additions
 .\"
-.TH SIGNAL 7  2014-10-15 "Linux" "Linux Programmer's Manual"
+.TH SIGNAL 7  2015-02-01 "Linux" "Linux Programmer's Manual"
 .SH NAME
 signal \- overview of signals
 .SH DESCRIPTION
@@ -646,6 +646,25 @@ calls on "slow" devices.
 A "slow" device is one where the I/O call may block for an
 indefinite time, for example, a terminal, pipe, or socket.
 (A disk is not a slow device according to this definition.)
+A
+.BR read (2)
+on an
+.BR eventfd (2),
+.BR signalfd (2),
+.BR timerfd (2),
+.BR fanotify (7),
+or
+.BR inotify (7)
+file descriptor is also considered to be a "slow" operation.
+(Before Linux 3.8,
+.\" commit 1ca39ab9d21ac93f94b9e3eb364ea9a5cf2aba06
+reads from an
+.BR inotify (7)
+file descriptor were not restartable;
+when interrupted by a signal handler,
+.BR read (2)
+always failed with the error
+.BR EINTR .)
 If an I/O call on a slow device has already transferred some
 data by the time it is interrupted by a signal handler,
 then the call will return a success status
@@ -683,8 +702,12 @@ unless a timeout has been set on the socket (see below).
 File locking interfaces:
 .BR flock (2)
 and
+the
+.BR F_SETLKW
+and
+.BR F_OFD_SETLKW
+operations of
 .BR fcntl (2)
-.BR F_SETLKW .
 .IP *
 POSIX message queue interfaces:
 .BR mq_receive (3),
@@ -698,6 +721,8 @@ and
 (since Linux 2.6.22; beforehand, always failed with
 .BR EINTR ).
 .IP *
+.BR getrandom (2).
+.IP *
 .BR pthread_mutex_lock (3),
 .BR pthread_cond_wait (3),
 and related APIs.
@@ -736,7 +761,7 @@ and
 .BR recvmsg (2).
 .IP *
 "Output" socket interfaces, when a timeout
-.RB ( SO_RCVTIMEO )
+.RB ( SO_SNDTIMEO )
 has been set on the socket using
 .BR setsockopt (2):
 .BR connect (2),
@@ -776,11 +801,6 @@ Sleep interfaces:
 and
 .BR usleep (3).
 .IP *
-.BR read (2)
-from an
-.BR inotify (7)
-file descriptor.
-.IP *
 .BR io_getevents (2).
 .RE
 .PP
@@ -816,7 +836,7 @@ and
 .BR recvmsg (2).
 .IP *
 "Output" socket interfaces, when a timeout
-.RB ( SO_RCVTIMEO )
+.RB ( SO_SNDTIMEO )
 has been set on the socket using
 .BR setsockopt (2):
 .BR connect (2),
@@ -824,10 +844,7 @@ has been set on the socket using
 .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 * 2
 .BR epoll_wait (2),
 .BR epoll_pwait (2).
@@ -838,6 +855,8 @@ has been set.
 .BR sigtimedwait (2),
 .BR sigwaitinfo (2).
 .IP *
+Linux 3.7 and earlier:
+.\" commit 1ca39ab9d21ac93f94b9e3eb364ea9a5cf2aba06
 .BR read (2)
 from an
 .BR inotify (7)
@@ -884,6 +903,7 @@ POSIX.1, except as noted.
 .BR signalfd (2),
 .BR sigpending (2),
 .BR sigprocmask (2),
+.BR sigreturn (2),
 .BR sigsuspend (2),
 .BR sigwaitinfo (2),
 .BR abort (3),
@@ -903,7 +923,7 @@ POSIX.1, except as noted.
 .BR pthreads (7),
 .BR sigevent (7)
 .SH COLOPHON
-This page is part of release 3.75 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,