pipe.2: Since Linux 4.5, fcntl() can be used to set O_DIRECT for a pipe

See https://bugzilla.kernel.org/show_bug.cgi?id=197917

Reported-by: Marin H. <mar-tSIEzQ@neutronstar.noip.me>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-23 13:35:01 +01:00
parent 8466189293
commit 2a871e9941
1 changed files with 8 additions and 0 deletions

View File

@ -122,6 +122,14 @@ that specifies a buffer size of zero is a no-op, and returns 0.)
Older kernels that do not support this flag will indicate this via an
.B EINVAL
error.
.IP
Since Linux 4.5,
.\" commit 0dbf5f20652108106cb822ad7662c786baaa03ff
.\" FIXME . But, it is not possible to specify O_DIRECT when opening a FIFO
it is possible to change the
.B O_DIRECT
setting of a pipe file descriptor using
.BR fcntl (2).
.TP
.B O_NONBLOCK
Set the