splice.2: EAGAIN can occur when called on nonblocking file descriptors

Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Slavomir Kaslev 2019-04-12 17:02:46 +03:00 committed by Michael Kerrisk
parent 2cfdf8f8ee
commit 4b5e751062
1 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,9 @@ is set to indicate the error.
.B EAGAIN
.B SPLICE_F_NONBLOCK
was specified in
.IR flags ,
.IR flags
or one of the file descriptors had been marked as nonblocking
.RB ( O_NONBLOCK ) ,
and the operation would block.
.TP
.B EBADF