summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 19b5ce2..7a7cd79 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -192,6 +192,11 @@ Use
.Xr disklabel 8
.Fl W
to enable writing on the disk label area.
+.It Bq Er EINVAL
+The value
+.Fa nbytes
+is greater than
+.Dv INT_MAX .
.El
.Pp
In addition,
OpenPOWER on IntegriCloud