posix_fadvise.2: ERRORS: Since 2.6.16, the kernel correctly deals with the ESPIPE case

Reported-by: Weijie Yang <weijie.yang.kh@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-11-11 09:32:53 +01:00
parent 445d38c9b5
commit e0f1f1765b
1 changed files with 5 additions and 2 deletions

View File

@ -97,8 +97,11 @@ An invalid value was specified for \fIadvice\fP.
.TP
.B ESPIPE
The specified file descriptor refers to a pipe or FIFO.
(Linux actually
returns
.RB ( ESPIPE
is the error specified by POSIX,
but before kernel version 2.16,
.\" commit 87ba81dba431232548ce29d5d224115d0c2355ac
Linux returned
.B EINVAL
in this case.)
.SH VERSIONS