summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-11-14 04:18:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-11-14 04:18:04 +0000
commit70c8ef44a9fc0252b1492da053b9a1f964d6b73a (patch)
tree6dcdaf238d68a996ed7afc32610194f3a82de26f /lib/libc/sys/write.2
parent515ff93344f651fac15365bdf61bfbda7ebb6b21 (diff)
EFAULT does not happen for all files; posix 1003.1, line 216
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 71f3aa4cb3f..12b9f1d2319 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.16 1999/09/26 16:05:01 espie Exp $
+.\" $OpenBSD: write.2,v 1.17 1999/11/14 04:18:03 deraadt Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -155,11 +155,6 @@ that is not connected to a peer socket.
.It Bq Er EFBIG
An attempt was made to write a file that exceeds the process's
file size limit or the maximum file size.
-.It Bq Er EFAULT
-Part of
-.Fa iov
-or data to be written to the file
-points outside the process's allocated address space.
.It Bq Er EINVAL
The pointer associated with
.Fa d
@@ -181,6 +176,11 @@ In addition,
.Fn write
may return the following error:
.Bl -tag -width Er
+.It Bq Er EFAULT
+Part of
+.Fa iov
+or data to be written to the file
+points outside the process's allocated address space.
.It Bq Er EINVAL
.Fa nbytes
was larger than