summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-28 04:13:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-28 04:13:35 +0000
commit7948cd4feec753bd744fa3328424219d4041ca04 (patch)
tree9c3da5df17c1acf49442558ab90d3b461d9d32b7 /lib
parent70ac9fcbf4cbec8e4d581e0b0f8b229456a5a517 (diff)
Don't talk about the sum of the iov_len being negative since iov_len is unsigned.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/read.210
-rw-r--r--lib/libc/sys/write.210
2 files changed, 4 insertions, 16 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index 40e4e259358..70f8d5c7ab8 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: read.2,v 1.3 1998/07/06 18:28:15 deraadt Exp $
+.\" $OpenBSD: read.2,v 1.4 1998/07/28 04:13:34 millert Exp $
.\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -160,17 +160,11 @@ was less than or equal to 0, or greater than
.\".Dv {UIO_MAXIOV} .
.Fa UIO_MAXIOV
.It Bq Er EINVAL
-One of the
-.Fa iov_len
-values in the
-.Fa iov
-array was negative.
-.It Bq Er EINVAL
The sum of the
.Fa iov_len
values in the
.Fa iov
-array overflowed a 32-bit integer.
+array overflowed an unsigned 32-bit integer.
.It Bq Er EFAULT
Part of the
.Fa iov
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 8fe72f1eedf..b5d6bb5dcef 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.4 1998/07/06 18:28:59 deraadt Exp $
+.\" $OpenBSD: write.2,v 1.5 1998/07/28 04:13:33 millert Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -186,17 +186,11 @@ may return one of the following errors:
was less than or equal to 0, or greater than
.Fa UIO_MAXIOV .
.It Bq Er EINVAL
-One of the
-.Fa iov_len
-values in the
-.Fa iov
-array was negative.
-.It Bq Er EINVAL
The sum of the
.Fa iov_len
values in the
.Fa iov
-array overflowed a 32-bit integer.
+array overflowed an unsigned 32-bit integer.
.El
.Sh SEE ALSO
.Xr fcntl 2 ,