summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-08-05 16:49:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-08-05 16:49:39 +0000
commit37fed92bb1074c178ecf93aa401343bf877aaadd (patch)
tree53bb601bd32184a318e18bce0ec3a27fd3c39def /lib/libc/sys/write.2
parentfc94ecf7084af60eda925fe2897edf186f2afa3b (diff)
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