summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-08-05 16:49:34 +0000
committermillert <millert@openbsd.org>1998-08-05 16:49:34 +0000
commite01095745bacf006d1af83b173a9c41c48de552e (patch)
treeedfe9b5271aec521caeda758a2dc8227b1128841 /lib/libc/sys/write.2
parentadd missing check for msg.msg_iovlen <= 0 (diff)
downloadwireguard-openbsd-e01095745bacf006d1af83b173a9c41c48de552e.tar.xz
wireguard-openbsd-e01095745bacf006d1af83b173a9c41c48de552e.zip
IOV_MAX, not UIO_MAXIOV
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 5acf9029136..df0585b7049 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.6 1998/07/28 19:47:11 millert Exp $
+.\" $OpenBSD: write.2,v 1.7 1998/08/05 16:49:35 millert Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -130,7 +130,7 @@ Note that
will fail if the value of
.Fa iovcnt
exceedes the constant
-.Fa UIO_MAXIOV .
+.Dv IOV_MAX .
.Sh RETURN VALUES
Upon successful completion the number of bytes which were written
is returned. Otherwise a -1 is returned and the global variable
@@ -194,7 +194,7 @@ may return one of the following errors:
.It Bq Er EINVAL
.Fa Iovcnt
was less than or equal to 0, or greater than
-.Fa UIO_MAXIOV .
+.Dv IOV_MAX .
.It Bq Er EINVAL
The sum of the
.Fa iov_len