As reported by Adhemerval Zanella in <https://sourceware.org/ml/libc-alpha/2018-09/msg00519.html> the kernel actually uses EOPNOTSUPP for the preadv2/pwritev2 system calls, unlike some other system calls. --- man2/readv.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/readv.2 b/man2/readv.2 index 4441e92e5..2d7300750 100644 --- a/man2/readv.2 +++ b/man2/readv.2 @@ -312,7 +312,7 @@ The vector count, .IR iovcnt , is less than zero or greater than the permitted maximum. .TP -.B EINVAL +.B EOPNOTSUPP An unknown flag is specified in \fIflags\fP. .SH VERSIONS .BR preadv () -- 2.14.4