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.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 0ea137a..5f8776f 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -147,7 +147,9 @@ system calls
will fail and the file pointer will remain unchanged if:
.Bl -tag -width Er
.It Bq Er EBADF
-.Fa D
+The
+.Fa d
+argument
is not a valid descriptor open for writing.
.It Bq Er EPIPE
An attempt is made to write to a pipe that is not open
@@ -201,7 +203,9 @@ domain datagram socket on which
.Xr connect 2
had been used to set a destination address.
.It Bq Er EINVAL
-.Fa Iovcnt
+The
+.Fa iovcnt
+argument
was less than or equal to 0, or greater than
.Dv UIO_MAXIOV .
.It Bq Er EINVAL
OpenPOWER on IntegriCloud