sendfile.2: Note that sendfile does not support O_APPEND for 'out_fd'

See https://bugzilla.kernel.org/show_bug.cgi?id=82841
Reported-by: Jason Newton <nevion@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-05 11:13:33 +02:00
parent a27867c25e
commit 2a342fcf75
1 changed files with 8 additions and 0 deletions

View File

@ -132,6 +132,14 @@ Descriptor is not valid or locked, or an
operation is not available for
.IR in_fd .
.TP
.B EINVAL
.I out_fd
was has the
.B O_APPEND
flag set.
This is not currently supported by
.BR sendfile ().
.TP
.B EIO
Unspecified error while reading from
.IR in_fd .