summaryrefslogtreecommitdiff
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1998-07-29 02:11:35 +0000
committerthorpej <thorpej@NetBSD.org>1998-07-29 02:11:35 +0000
commitbbc3c4bf2a37cd98813c0a1383da2af5c2278046 (patch)
tree0ae09b616b1e64adc281bee33aa38faa3bc98943 /lib/libc/sys/write.2
parent4b039671de07643fd79316e4f938c64bf46c5b9a (diff)
Document that these calls can return EINVAL if the total length of the I/O
is more than can be expressed in the ssize_t return value.
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index c7d201c6aa8..fb7faad5786 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: write.2,v 1.9 1998/07/28 09:43:31 is Exp $
+.\" $NetBSD: write.2,v 1.10 1998/07/29 02:11:35 thorpej Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -165,6 +165,9 @@ points outside the process's allocated address space.
The pointer associated with
.Fa d
was negative.
+.It Bq Er EINVAL
+The total length of the I/O is more than can be expressed by the ssize_t
+return value.
.It Bq Er ENOSPC
There is no free space remaining on the file system
containing the file.