update error messages (mostly from sun!guy)
[unix-history] / usr / src / lib / libc / sys / write.2
index f7796f6..b3af055 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)write.2     5.1 (Berkeley) %G%
+.\"    @(#)write.2     6.3 (Berkeley) %G%
 .\"
 .\"
-.TH WRITE 2 "27 July 1983"
+.TH WRITE 2 ""
 .UC 4
 .SH NAME
 write, writev \- write on a file
 .UC 4
 .SH NAME
 write, writev \- write on a file
@@ -78,7 +78,7 @@ for reading by any process.
 .TP 15
 [EPIPE]
 An attempt is made to write to a socket of type SOCK_STREAM
 .TP 15
 [EPIPE]
 An attempt is made to write to a socket of type SOCK_STREAM
-which is not connected to a peer socket.
+that is not connected to a peer socket.
 .TP 15
 [EFBIG]
 An attempt was made to write a file that exceeds the process's
 .TP 15
 [EFBIG]
 An attempt was made to write a file that exceeds the process's
@@ -87,5 +87,16 @@ file size limit or the maximum file size.
 [EFAULT]
 Part of \fIiov\fP or data to be written to the file
 points outside the process's allocated address space.
 [EFAULT]
 Part of \fIiov\fP or data to be written to the file
 points outside the process's allocated address space.
+.TP 15
+[ENOSPC]
+There is no free space remaining on the file system
+containing the file.
+.TP 15
+[EDQUOT]
+The user's quota of disk blocks on the file system
+containing the file has been exhausted.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 lseek(2), open(2), pipe(2)
 .SH "SEE ALSO"
 lseek(2), open(2), pipe(2)