diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-12-11 08:31:38 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-12-30 16:05:02 +0100 |
| commit | 53eea2dbaef0898be912812b5a033d382d9130d7 (patch) | |
| tree | 5f10519419a7959785bda863d38284bb7896d860 /man7/signal.7 | |
| parent | 5a3a86997708b4fb46b66d9c40ae4f870052208d (diff) | |
| download | man-pages-53eea2dbaef0898be912812b5a033d382d9130d7.tar.gz | |
signal.7: Mention other "slow devices"
Reads from eventfd(2), signalfd(2), timerfd(2), inotify(7),
and fanotify(7) file descriptors are also slow operations
that are restartable.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/signal.7')
| -rw-r--r-- | man7/signal.7 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man7/signal.7 b/man7/signal.7 index 76a74586d2..8bdae03a07 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -646,6 +646,16 @@ 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. 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 |
