mirror of https://github.com/mkerrisk/man-pages
pipe.7: Clarify that I/O signalling requires use of both F_SETOWN and O_ASYNC
Reported-by: Jason Vas Dias <jason.vas.dias@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7255c7c0df
commit
98faa645ea
|
@ -227,10 +227,11 @@ Setting the
|
|||
.B O_ASYNC
|
||||
flag for the read end of a pipe causes a signal
|
||||
.RB ( SIGIO
|
||||
by default) to be generated when new input becomes available on the pipe
|
||||
(see
|
||||
by default) to be generated when new input becomes available on the pipe.
|
||||
The target for delivery of signals must be set using the
|
||||
.BR fcntl (2)
|
||||
for details).
|
||||
.B F_SETOWN
|
||||
command.
|
||||
On Linux,
|
||||
.B O_ASYNC
|
||||
is supported for pipes and FIFOs only since kernel 2.6.
|
||||
|
|
Loading…
Reference in New Issue