splice.2: ERRORS: add EINVAL for case where both descriptors refer to same pipe

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-06-14 12:59:13 +02:00
parent be050b69a0
commit be338b52ec
1 changed files with 6 additions and 0 deletions

View File

@ -176,6 +176,12 @@ Neither of the file descriptors refers to a pipe.
.B EINVAL
An offset was given for nonseekable device (e.g., a pipe).
.TP
.B EINVAL
.I fd_in
and
.I fd_out
refer to the same pipe.
.TP
.B ENOMEM
Out of memory.
.TP