summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1994-09-16 03:08:46 +0000
committermycroft <mycroft@NetBSD.org>1994-09-16 03:08:46 +0000
commitf41d9ebe515050e0a0a2c8d0c7d44bf5bd5bc24a (patch)
tree9b7b0b77f7744f0f7bdd81e5552011c1eb8de0ad /lib/libc/sys/write.2
parentc7003d37d3a4a933df784fd2c50158559986ffe8 (diff)
Use an explicit references to UIO_MAXIOV, rather than a number. ref: PR 433
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.213
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 87d7236344b..a3ebc4e2690 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)write.2 6.6 (Berkeley) 3/10/91
-.\" $Id: write.2,v 1.4 1993/11/25 00:40:05 jtc Exp $
+.\" $Id: write.2,v 1.5 1994/09/16 03:08:47 mycroft Exp $
.\"
.Dd March 10, 1991
.Dt WRITE 2
@@ -87,9 +87,9 @@ On objects capable of seeking, the
.Fn write
starts at a position
given by the pointer associated with
-.Fa d ,
-see
-.Xr lseek 2 .
+.Fa d
+(see
+.Xr lseek 2 ) .
Upon return from
.Fn write ,
the pointer is incremented by the number of bytes which were written.
@@ -167,7 +167,8 @@ may return one of the following errors:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa Iovcnt
-was less than or equal to 0, or greater than 16.
+was less than or equal to 0, or greater than
+.Dv {UIO_MAXIOV} .
.It Bq Er EINVAL
One of the
.Fa iov_len
@@ -201,4 +202,4 @@ appeared in
The
.Fn write
function call appeared in
-.At v6 . \ No newline at end of file
+.At v6 .