splice.2: ERRORS: split EINVAL error cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-06-14 12:56:30 +02:00
parent 32bc5a717a
commit be050b69a0
1 changed files with 10 additions and 4 deletions

View File

@ -163,12 +163,18 @@ One or both file descriptors are not valid,
or do not have proper read-write mode. or do not have proper read-write mode.
.TP .TP
.B EINVAL .B EINVAL
Target filesystem doesn't support splicing; The target filesystem doesn't support splicing.
target file is opened in append mode; .TP
.B EINVAL
The target file is opened in append mode.
.\" The append-mode error is given since 2.6.27; in earlier kernels, .\" The append-mode error is given since 2.6.27; in earlier kernels,
.\" splice() in append mode was broken .\" splice() in append mode was broken
neither of the file descriptors refers to a pipe; or .TP
offset given for nonseekable device. .B EINVAL
Neither of the file descriptors refers to a pipe.
.TP
.B EINVAL
An offset was given for nonseekable device (e.g., a pipe).
.TP .TP
.B ENOMEM .B ENOMEM
Out of memory. Out of memory.