summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/read.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r--lib/libc/sys/read.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 994190c..8dd7731 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -180,6 +180,11 @@ is before the end-of-file, and
.Fa offset
is greater than or equal to the offset maximum established
for this file system.
+.It Bq Er EINVAL
+The value
+.Fa nbytes
+is greater than
+.Dv INT_MAX .
.El
.Pp
In addition,
OpenPOWER on IntegriCloud