diff options
author | 1999-11-14 04:18:03 +0000 | |
---|---|---|
committer | 1999-11-14 04:18:03 +0000 | |
commit | 54a0464512ed8fb09f90dca3f8c2dce8b3b09510 (patch) | |
tree | e47879ef1241c5dfdca878c0ba274af90f150cad /lib/libc/sys/write.2 | |
parent | protect against copuin faults (diff) | |
download | wireguard-openbsd-54a0464512ed8fb09f90dca3f8c2dce8b3b09510.tar.xz wireguard-openbsd-54a0464512ed8fb09f90dca3f8c2dce8b3b09510.zip |
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.2 | 12 |
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 |