summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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