mirror of https://github.com/mkerrisk/man-pages
signal.7: Clarify that I/O operations on disks are not interrupted by signals
See https://bugzilla.kernel.org/show_bug.cgi?id=97721 Reported-by: Steinar H. Gunderson <sgunderson@bigfoot.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fee59977e0
commit
ae1c1caab7
|
@ -666,11 +666,12 @@ and
|
|||
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.)
|
||||
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
|
||||
(normally, the number of bytes transferred).
|
||||
Note that a (local) disk is not a slow device according to this definition;
|
||||
I/O operations on disk devices are not interrupted by signals.
|
||||
.IP *
|
||||
.BR open (2),
|
||||
if it can block (e.g., when opening a FIFO; see
|
||||
|
|
Loading…
Reference in New Issue