update error messages (mostly from sun!guy)
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 27 Aug 1985 14:33:27 +0000 (06:33 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 27 Aug 1985 14:33:27 +0000 (06:33 -0800)
SCCS-vsn: lib/libc/sys/access.2 6.4
SCCS-vsn: lib/libc/sys/chmod.2 6.3
SCCS-vsn: lib/libc/sys/chown.2 6.4
SCCS-vsn: lib/libc/sys/fork.2 6.2
SCCS-vsn: lib/libc/sys/link.2 6.3
SCCS-vsn: lib/libc/sys/open.2 6.3
SCCS-vsn: lib/libc/sys/ptrace.2 6.3
SCCS-vsn: lib/libc/sys/read.2 6.3
SCCS-vsn: lib/libc/sys/write.2 6.3
SCCS-vsn: lib/libc/sys/execve.2 6.4
SCCS-vsn: lib/libc/sys/acct.2 6.3
SCCS-vsn: lib/libc/sys/chdir.2 6.3
SCCS-vsn: lib/libc/compat-43/creat.2 6.4
SCCS-vsn: lib/libc/sys/mknod.2 6.3
SCCS-vsn: lib/libc/sys/mount.2 6.3
SCCS-vsn: lib/libc/sys/pipe.2 6.2
SCCS-vsn: lib/libc/sys/stat.2 6.4
SCCS-vsn: lib/libc/sys/intro.2 6.4
SCCS-vsn: lib/libc/sys/utimes.2 6.4
SCCS-vsn: lib/libc/sys/gettimeofday.2 6.5
SCCS-vsn: lib/libc/sys/getrusage.2 6.3
SCCS-vsn: lib/libc/sys/swapon.2 6.3
SCCS-vsn: lib/libc/sys/chroot.2 6.3
SCCS-vsn: lib/libc/sys/fsync.2 6.3
SCCS-vsn: lib/libc/sys/getpgrp.2 6.3
SCCS-vsn: lib/libc/gen/gethostname.3 6.2
SCCS-vsn: lib/libc/sys/getitimer.2 6.2
SCCS-vsn: lib/libc/sys/getsockopt.2 6.2
SCCS-vsn: lib/libc/sys/mkdir.2 6.4
SCCS-vsn: lib/libc/sys/readlink.2 6.4
SCCS-vsn: lib/libc/sys/rename.2 6.3
SCCS-vsn: lib/libc/sys/rmdir.2 6.3
SCCS-vsn: lib/libc/sys/symlink.2 6.3
SCCS-vsn: lib/libc/sys/truncate.2 6.4

34 files changed:
usr/src/lib/libc/compat-43/creat.2
usr/src/lib/libc/gen/gethostname.3
usr/src/lib/libc/sys/access.2
usr/src/lib/libc/sys/acct.2
usr/src/lib/libc/sys/chdir.2
usr/src/lib/libc/sys/chmod.2
usr/src/lib/libc/sys/chown.2
usr/src/lib/libc/sys/chroot.2
usr/src/lib/libc/sys/execve.2
usr/src/lib/libc/sys/fork.2
usr/src/lib/libc/sys/fsync.2
usr/src/lib/libc/sys/getitimer.2
usr/src/lib/libc/sys/getpgrp.2
usr/src/lib/libc/sys/getrusage.2
usr/src/lib/libc/sys/getsockopt.2
usr/src/lib/libc/sys/gettimeofday.2
usr/src/lib/libc/sys/intro.2
usr/src/lib/libc/sys/link.2
usr/src/lib/libc/sys/mkdir.2
usr/src/lib/libc/sys/mknod.2
usr/src/lib/libc/sys/mount.2
usr/src/lib/libc/sys/open.2
usr/src/lib/libc/sys/pipe.2
usr/src/lib/libc/sys/ptrace.2
usr/src/lib/libc/sys/read.2
usr/src/lib/libc/sys/readlink.2
usr/src/lib/libc/sys/rename.2
usr/src/lib/libc/sys/rmdir.2
usr/src/lib/libc/sys/stat.2
usr/src/lib/libc/sys/swapon.2
usr/src/lib/libc/sys/symlink.2
usr/src/lib/libc/sys/truncate.2
usr/src/lib/libc/sys/utimes.2
usr/src/lib/libc/sys/write.2

index 32b932a..c50b853 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)creat.2     6.3 (Berkeley) %G%
+.\"    @(#)creat.2     6.4 (Berkeley) %G%
 .\"
 .TH CREAT 2 ""
 .UC 4
 .\"
 .TH CREAT 2 ""
 .UC 4
@@ -90,6 +90,28 @@ The file is a directory.
 [EMFILE]
 There are already too many files open.
 .TP 15
 [EMFILE]
 There are already too many files open.
 .TP 15
+[ENFILE]
+The system file table is full.
+.TP 15
+[ENOSPC]
+The directory in which the entry for the new file is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[ENOSPC]
+There are no free inodes on the file system on which the
+file is being created.
+.TP 15
+[EDQUOT]
+The directory in which the entry for the new file
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
+[EDQUOT]
+The user's quota of inodes on the file system on
+which the file is being created has been exhausted.
+.TP 15
 [EROFS]
 The named file resides on a read-only file system.
 .TP 15
 [EROFS]
 The named file resides on a read-only file system.
 .TP 15
index 8bd8f1d..9dfe232 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)gethostname.3       6.1 (Berkeley) %G%
+.\"    @(#)gethostname.3       6.2 (Berkeley) %G%
 .\"
 .TH GETHOSTNAME 2 ""
 .UC 5
 .\"
 .TH GETHOSTNAME 2 ""
 .UC 5
@@ -51,7 +51,7 @@ The \fIname\fP or \fInamelen\fP parameter gave an
 invalid address.
 .TP 15
 [EPERM]
 invalid address.
 .TP 15
 [EPERM]
-The caller was not the super-user.
+The caller tried to set the hostname and was not the super-user.
 .SH SEE ALSO
 gethostid(2)
 .SH BUGS
 .SH SEE ALSO
 gethostid(2)
 .SH BUGS
index 6b460fa..1ff415b 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)access.2    6.3 (Berkeley) %G%
+.\"    @(#)access.2    6.4 (Berkeley) %G%
 .\"
 .TH ACCESS 2 ""
 .UC 4
 .\"
 .TH ACCESS 2 ""
 .UC 4
@@ -78,8 +78,7 @@ A component of a pathname exceeded 255 characters,
 or an entire path name exceeded 1023 characters.
 .TP 15
 [ENOENT]
 or an entire path name exceeded 1023 characters.
 .TP 15
 [ENOENT]
-Read, write, or execute (search) permission is requested for a null
-path name or the named file does not exist.
+The named file does not exist.
 .TP 15
 [EACCES]
 Search permission is denied for a component of the path prefix.
 .TP 15
 [EACCES]
 Search permission is denied for a component of the path prefix.
@@ -107,5 +106,8 @@ mode bits.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO
 chmod(2), stat(2)
 .SH "SEE ALSO
 chmod(2), stat(2)
index 14d1261..3a2f167 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)acct.2      6.2 (Berkeley) %G%
+.\"    @(#)acct.2      6.3 (Berkeley) %G%
 .\"
 .TH ACCT 2 ""
 .UC 4
 .\"
 .TH ACCT 2 ""
 .UC 4
@@ -72,6 +72,9 @@ The named file resides on a read-only file system.
 [EFAULT]
 .I File
 points outside the process's allocated address space.
 [EFAULT]
 .I File
 points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 acct(5), sa(8)
 .SH BUGS
 .SH "SEE ALSO"
 acct(5), sa(8)
 .SH BUGS
index 7848409..8f1b4e8 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)chdir.2     6.2 (Berkeley) %G%
+.\"    @(#)chdir.2     6.3 (Berkeley) %G%
 .\"
 .TH CHDIR 2 ""
 .UC 4
 .\"
 .TH CHDIR 2 ""
 .UC 4
@@ -57,5 +57,8 @@ the path name.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 chroot(2)
 .SH "SEE ALSO"
 chroot(2)
index 56703a5..e774c45 100644 (file)
@@ -95,6 +95,9 @@ The named file resides on a read-only file system.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .PP
 .I Fchmod
 will fail if:
 .PP
 .I Fchmod
 will fail if:
@@ -108,5 +111,8 @@ refers to a socket, not to a file.
 .TP 15
 [EROFS]
 The file resides on a read-only file system.
 .TP 15
 [EROFS]
 The file resides on a read-only file system.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 open(2), chown(2)
 .SH "SEE ALSO"
 open(2), chown(2)
index 99b9f1e..89fd6cd 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)chown.2     6.3 (Berkeley) %G%
+.\"    @(#)chown.2     6.4 (Berkeley) %G%
 .\"
 .TH CHOWN 2 ""
 .UC 4
 .\"
 .TH CHOWN 2 ""
 .UC 4
@@ -75,8 +75,7 @@ Search permission is denied for a component of the path prefix.
 Too many symbolic links were encountered in translating the pathname.
 .TP 15
 [EPERM]
 Too many symbolic links were encountered in translating the pathname.
 .TP 15
 [EPERM]
-The effective user ID does not match the owner of the file and
-the effective user ID is not the super-user.
+The effective user ID is not the super-user.
 .TP 15
 [EROFS]
 The named file resides on a read-only file system.
 .TP 15
 [EROFS]
 The named file resides on a read-only file system.
@@ -84,6 +83,9 @@ The named file resides on a read-only file system.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .PP
 .I Fchown
 will fail if:
 .PP
 .I Fchown
 will fail if:
@@ -96,7 +98,13 @@ does not refer to a valid descriptor.
 .I Fd
 refers to a socket, not a file.
 .TP 15
 .I Fd
 refers to a socket, not a file.
 .TP 15
+[EPERM]
+The effective user ID is not the super-user.
+.TP 15
 [EROFS]
 The named file resides on a read-only file system.
 [EROFS]
 The named file resides on a read-only file system.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 chmod(2), flock(2)
 .SH "SEE ALSO"
 chmod(2), flock(2)
index dee8978..0fc2fa9 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)chroot.2    6.2 (Berkeley) %G%
+.\"    @(#)chroot.2    6.3 (Berkeley) %G%
 .\"
 .TH CHROOT 2 ""
 .UC 5
 .\"
 .TH CHROOT 2 ""
 .UC 5
@@ -57,5 +57,8 @@ Too many symbolic links were encountered in translating the pathname.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 chdir(2)
 .SH "SEE ALSO"
 chdir(2)
index f78549e..e8e826a 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)execve.2    6.3 (Berkeley) %G%
+.\"    @(#)execve.2    6.4 (Berkeley) %G%
 .\"
 .TH EXECVE 2 ""
 .UC 4
 .\"
 .TH EXECVE 2 ""
 .UC 4
@@ -196,6 +196,9 @@ the size values in its header.
 [EFAULT]
 \fIPath\fP\|, \fIargv\fP\|, or \fIenvp\fP point
 to an illegal address.
 [EFAULT]
 \fIPath\fP\|, \fIargv\fP\|, or \fIenvp\fP point
 to an illegal address.
+.TP 15
+[EIO]
+An I/O error occurred while reading from the file system.
 .SH CAVEATS
 If a program is
 .I setuid
 .SH CAVEATS
 If a program is
 .I setuid
index d87ba3e..19c96a5 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)fork.2      6.1 (Berkeley) %G%
+.\"    @(#)fork.2      6.2 (Berkeley) %G%
 .\"
 .TH FORK 2 ""
 .UC
 .\"
 .TH FORK 2 ""
 .UC
@@ -61,5 +61,8 @@ number of processes under execution would be exceeded.
 [EAGAIN]
 The system-imposed limit {KID_MAX} on the total number of
 processes under execution by a single user would be exceeded.
 [EAGAIN]
 The system-imposed limit {KID_MAX} on the total number of
 processes under execution by a single user would be exceeded.
+.TP 15
+[ENOMEM]
+There is insufficient swap space for the new process.
 .SH "SEE ALSO"
 execve(2), wait(2)
 .SH "SEE ALSO"
 execve(2), wait(2)
index d7aae5b..c4461b0 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)fsync.2     6.2 (Berkeley) %G%
+.\"    @(#)fsync.2     6.3 (Berkeley) %G%
 .\"
 .TH FSYNC 2 ""
 .UC 5
 .\"
 .TH FSYNC 2 ""
 .UC 5
@@ -36,5 +36,8 @@ The \fIfsync\fP fails if:
 .TP 15
 [EINVAL]
 \fIFd\fP refers to a socket, not to a file.
 .TP 15
 [EINVAL]
 \fIFd\fP refers to a socket, not to a file.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH "SEE ALSO"
 sync(2), sync(8), update(8)
 .SH "SEE ALSO"
 sync(2), sync(8), update(8)
index 5b84158..5b73b25 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)getitimer.2 6.1 (Berkeley) %G%
+.\"    @(#)getitimer.2 6.2 (Berkeley) %G%
 .\"
 .TH GETITIMER 2 ""
 .UC 5
 .\"
 .TH GETITIMER 2 ""
 .UC 5
@@ -113,10 +113,10 @@ in the global variable \fIerrno\fP.
 The possible errors are:
 .TP 15
 [EFAULT]
 The possible errors are:
 .TP 15
 [EFAULT]
-The \fIvalue\fP structure specified a bad address.
+The \fIvalue\fP parameter specified a bad address.
 .TP 15
 [EINVAL]
 .TP 15
 [EINVAL]
-A \fIvalue\fP structure specified a time was too large
+A \fIvalue\fP parameter specified a time was too large
 to be handled.
 .SH "SEE ALSO"
 sigvec(2), gettimeofday(2)
 to be handled.
 .SH "SEE ALSO"
 sigvec(2), gettimeofday(2)
index 6baf0eb..220a456 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)getpgrp.2   6.2 (Berkeley) %G%
+.\"    @(#)getpgrp.2   6.3 (Berkeley) %G%
 .\"
 .TH GETPGRP 2 ""
 .UC 5
 .\"
 .TH GETPGRP 2 ""
 .UC 5
@@ -12,7 +12,7 @@ getpgrp \- get process group
 .ft B
 .nf
 pgrp = getpgrp(pid)
 .ft B
 .nf
 pgrp = getpgrp(pid)
-int prgp;
+int pgrp;
 int pid;
 .fi
 .ft R
 int pid;
 .fi
 .ft R
index bb27ba8..b47e513 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)getrusage.2 6.2 (Berkeley) %G%
+.\"    @(#)getrusage.2 6.3 (Berkeley) %G%
 .\"
 .TH GETRUSAGE 2 ""
 .UC 4
 .\"
 .TH GETRUSAGE 2 ""
 .UC 4
@@ -135,6 +135,20 @@ and
 account only for real
 i/o; data supplied by the cacheing mechanism is charged only
 to the first process to read or write the data.
 account only for real
 i/o; data supplied by the cacheing mechanism is charged only
 to the first process to read or write the data.
+.SH ERRORS
+The possible errors for
+.I getrusage
+are:
+.TP 15
+[EINVAL]
+The
+.I who
+parameter is not a valid value.
+.TP 15
+[EFAULT]
+The address specified by the
+.I rusage
+parameter is not in a valid part of the process address space.
 .SH SEE ALSO
 gettimeofday(2), wait(2)
 .SH BUGS
 .SH SEE ALSO
 gettimeofday(2), wait(2)
 .SH BUGS
index aeab5b8..15e5594 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)getsockopt.2        6.1 (Berkeley) %G%
+.\"    @(#)getsockopt.2        6.2 (Berkeley) %G%
 .\"
 .TH GETSOCKOPT 2 ""
 .UC 5
 .\"
 .TH GETSOCKOPT 2 ""
 .UC 5
@@ -92,7 +92,13 @@ The argument \fIs\fP is a file, not a socket.
 The option is unknown.
 .TP 20
 [EFAULT]
 The option is unknown.
 .TP 20
 [EFAULT]
-The options are not in a valid part of the
-process address space.
+The address pointed to by 
+.I optval
+is not in a valid part of the process address space.
+For
+.IR getsockopt ,
+this error may also be returned if
+.I optlen
+is not in a valid part of the process address space.
 .SH "SEE ALSO"
 socket(2), getprotoent(3N)
 .SH "SEE ALSO"
 socket(2), getprotoent(3N)
index 7188af4..ecc0ead 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)gettimeofday.2      6.4 (Berkeley) %G%
+.\"    @(#)gettimeofday.2      6.5 (Berkeley) %G%
 .\"
 .TH GETTIMEOFDAY 2 ""
 .UC 4
 .\"
 .TH GETTIMEOFDAY 2 ""
 .UC 4
@@ -28,6 +28,9 @@ struct timezone *tzp;
 returns the system's notion of the current Greenwich time and
 the current time zone.  Time returned is expressed relative
 in seconds and microseconds since midnight January 1, 1970.
 returns the system's notion of the current Greenwich time and
 the current time zone.  Time returned is expressed relative
 in seconds and microseconds since midnight January 1, 1970.
+If
+.I tzp
+is NULL, the time zone information will not be returned or set.
 .PP
 The structures pointed to by
 .I tp
 .PP
 The structures pointed to by
 .I tp
index dd82665..6ba59ca 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)intro.2     6.3 (Berkeley) %G%
+.\"    @(#)intro.2     6.4 (Berkeley) %G%
 .\"
 .TH INTRO 2 ""
 .UC 4
 .\"
 .TH INTRO 2 ""
 .UC 4
@@ -178,10 +178,14 @@ The size of a file exceeded the maximum (about
 .if n 1.0E9
 bytes).
 .en 28 ENOSPC "No space left on device
 .if n 1.0E9
 bytes).
 .en 28 ENOSPC "No space left on device
-During a
+A
 .I write
 .I write
-to an ordinary file,
-there is no free space left on the device.
+to an ordinary file, the creation of a
+directory or symbolic link, or the creation of a directory
+entry failed because no more disk blocks are available
+on the file system, or the allocation of an inode for a newly
+created file failed because no more inodes are available
+on the file system.
 .en 29 ESPIPE "Illegal seek
 An
 .I lseek
 .en 29 ESPIPE "Illegal seek
 An
 .I lseek
@@ -309,8 +313,14 @@ was supplied to a remove directory or rename call.
 ...en 67 EPROCLIM "Too many processes"
 ...en 68 EUSERS "Too many users"
 .en 69 EDQUOT "Disc quota exceeded"
 ...en 67 EPROCLIM "Too many processes"
 ...en 68 EUSERS "Too many users"
 .en 69 EDQUOT "Disc quota exceeded"
-A file creation or write operation failed because the hard limit
-for that resource had been reached.
+A 
+.i write
+to an ordinary file, the creation of a
+directory or symbolic link, or the creation of a directory
+entry failed because the user's quota of disk blocks was
+exhausted, or the allocation of an inode for a newly
+created file failed because the user's quota of inodes
+was exhausted.
 .SH DEFINITIONS
 .TP 5
 Process ID
 .SH DEFINITIONS
 .TP 5
 Process ID
index eb5945c..10dd3ce 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)link.2      6.2 (Berkeley) %G%
+.\"    @(#)link.2      6.3 (Berkeley) %G%
 .\"
 .TH LINK 2 ""
 .UC 4
 .\"
 .TH LINK 2 ""
 .UC 4
@@ -85,8 +85,20 @@ user ID is not super-user.
 The link named by \fIname2\fP and the file named by \fIname1\fP
 are on different file systems.
 .TP 15
 The link named by \fIname2\fP and the file named by \fIname1\fP
 are on different file systems.
 .TP 15
+[ENOSPC]
+The directory in which the entry for the new link is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[EDQUOT]
+The directory in which the entry for the new link
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
 [EIO]
 [EIO]
-An I/O error occurred while making the directory entry.
+An I/O error occurred while reading from or writing to 
+the file system to make the directory entry.
 .TP 15
 [EROFS]
 The requested link requires writing in a directory on a read-only file
 .TP 15
 [EROFS]
 The requested link requires writing in a directory on a read-only file
index da20127..be3bb18 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)mkdir.2     6.3 (Berkeley) %G%
+.\"    @(#)mkdir.2     6.4 (Berkeley) %G%
 .\"
 .TH MKDIR 2 ""
 .UC 5
 .\"
 .TH MKDIR 2 ""
 .UC 5
@@ -71,14 +71,43 @@ The named file resides on a read-only file system.
 [EEXIST]
 The named file exists.
 .TP 15
 [EEXIST]
 The named file exists.
 .TP 15
+[ENOSPC]
+The directory in which the entry for the new directory is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[ENOSPC]
+The new directory cannot be created because there
+there is no space left on the file
+system that will contain the directory.
+.TP 15
+[ENOSPC]
+There are no free inodes on the file system on which the
+directory is being created.
+.TP 15
+[EDQUOT]
+The directory in which the entry for the new directory
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
+[EDQUOT]
+The new directory cannot be created because the user's
+quota of disk blocks on the file system that will
+contain the directory has been exhausted.
+.TP 15
+[EDQUOT]
+The user's quota of inodes on the file system on
+which the directory is being created has been exhausted.
+.TP 15
 [EIO]
 An I/O error occurred while making the directory entry or allocating the inode.
 .TP 15
 [EIO]
 An I/O error occurred while making the directory entry or allocating the inode.
 .TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
+.TP 15
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
 [EFAULT]
 .I Path
 points outside the process's allocated address space.
-.TP 15
-[EIO]
-An I/O error occured while writing to the file system.
 .SH "SEE ALSO"
 chmod(2), stat(2), umask(2)
 .SH "SEE ALSO"
 chmod(2), stat(2), umask(2)
index 8383e33..5e7ffbe 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)mknod.2     6.2 (Berkeley) %G%
+.\"    @(#)mknod.2     6.3 (Berkeley) %G%
 .\"
 .TH MKNOD 2 ""
 .UC 4
 .\"
 .TH MKNOD 2 ""
 .UC 4
@@ -81,6 +81,25 @@ The pathname contains a character with the high-order bit set.
 [EIO]
 An I/O error occurred while making the directory entry or allocating the inode.
 .TP 15
 [EIO]
 An I/O error occurred while making the directory entry or allocating the inode.
 .TP 15
+[ENOSPC]
+The directory in which the entry for the new node is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[ENOSPC]
+There are no free inodes on the file system on which the
+node is being created.
+.TP 15
+[EDQUOT]
+The directory in which the entry for the new node
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
+[EDQUOT]
+The user's quota of inodes on the file system on
+which the node is being created has been exhausted.
+.TP 15
 [EROFS]
 The named file resides on a read-only file system.
 .TP 15
 [EROFS]
 The named file resides on a read-only file system.
 .TP 15
index 78afca9..002e50f 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)mount.2     6.2 (Berkeley) %G%
+.\"    @(#)mount.2     6.3 (Berkeley) %G%
 .\"
 .TH MOUNT 2 ""
 .UC 4
 .\"
 .TH MOUNT 2 ""
 .UC 4
@@ -133,8 +133,12 @@ Not enough memory was available to read the cylinder
 group information for the file system.
 .TP 15
 [EIO]
 group information for the file system.
 .TP 15
 [EIO]
-An i/o error occurred while reading the super block or
+An I/O error occurred while reading the super block or
 cylinder group information.
 cylinder group information.
+.TP 15
+[EFAULT]
+\fISpecial\fP or \fIname\fP points outside the
+process's allocated address space.
 .PP
 .I Umount
 may fail with one of the following errors:
 .PP
 .I Umount
 may fail with one of the following errors:
@@ -175,6 +179,13 @@ The requested device is not in the mount table.
 [EBUSY]
 A process is holding a reference to a file located
 on the file system.
 [EBUSY]
 A process is holding a reference to a file located
 on the file system.
+.TP 15
+[EIO]
+An I/O error occurred while writing the super block or
+other cached file system information.
+.TP 15
+[EFAULT]
+\fISpecial\fP points outside the process's allocated address space.
 .SH "SEE ALSO"
 mount(8), umount(8)
 .SH BUGS
 .SH "SEE ALSO"
 mount(8), umount(8)
 .SH BUGS
index ad051a9..e37ab9c 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)open.2      6.2 (Berkeley) %G%
+.\"    @(#)open.2      6.3 (Berkeley) %G%
 .\"
 .TH OPEN 2 ""
 .UC 4
 .\"
 .TH OPEN 2 ""
 .UC 4
@@ -98,6 +98,9 @@ or an entire path name exceeded 1023 characters.
 [ENOENT]
 O_CREAT is not set and the named file does not exist.
 .TP 15
 [ENOENT]
 O_CREAT is not set and the named file does not exist.
 .TP 15
+[ENOENT]
+A component of the path name that must exist does not exist.
+.TP 15
 [EACCES]
 Search permission is denied for a component of the path prefix.
 .TP 15
 [EACCES]
 Search permission is denied for a component of the path prefix.
 .TP 15
@@ -105,6 +108,12 @@ Search permission is denied for a component of the path prefix.
 The required permissions (for reading and/or writing)
 are denied for the named flag.
 .TP 15
 The required permissions (for reading and/or writing)
 are denied for the named flag.
 .TP 15
+[EACCES]
+O_CREAT is specified,
+the file does not exist,
+and the directory in which it is to be created
+does not permit writing.
+.TP 15
 [ELOOP]
 Too many symbolic links were encountered in translating the pathname.
 .TP 15
 [ELOOP]
 Too many symbolic links were encountered in translating the pathname.
 .TP 15
@@ -119,6 +128,9 @@ and the file is to be modified.
 [EMFILE]
 {OPEN_MAX} file descriptors are currently open.
 .TP 15
 [EMFILE]
 {OPEN_MAX} file descriptors are currently open.
 .TP 15
+[ENFILE]
+The system file table is full.
+.TP 15
 [ENXIO]
 The named file is a character special or block
 special file, and the device associated with this special file
 [ENXIO]
 The named file is a character special or block
 special file, and the device associated with this special file
@@ -128,6 +140,33 @@ does not exist.
 The O_NDELAY flag is given, and the file is a communications device
 on which their is no carrier present.
 .TP 15
 The O_NDELAY flag is given, and the file is a communications device
 on which their is no carrier present.
 .TP 15
+[ENOSPC]
+O_CREAT is specified,
+the file does not exist,
+and the directory in which the entry for the new file is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[ENOSPC]
+O_CREAT is specified,
+the file does not exist,
+and there are no free inodes on the file system on which the
+file is being created.
+.TP 15
+[EDQUOT]
+O_CREAT is specified,
+the file does not exist,
+and the directory in which the entry for the new fie
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
+[EDQUOT]
+O_CREAT is specified,
+the file does not exist,
+and the user's quota of inodes on the file system on
+which the file is being created has been exhausted.
+.TP 15
 [EIO]
 An I/O error occurred while making the directory entry or
 allocating the inode for O_CREAT.
 [EIO]
 An I/O error occurred while making the directory entry or
 allocating the inode for O_CREAT.
@@ -141,7 +180,7 @@ executed and the \fIopen\fP call requests write access.
 points outside the process's allocated address space.
 .TP 15
 [EEXIST]
 points outside the process's allocated address space.
 .TP 15
 [EEXIST]
-O_EXCL was specified and the file exists.
+O_CREAT and O_EXCL were specified and the file exists.
 .TP 15
 [EOPNOTSUPP]
 An attempt was made to open a socket (not currently implemented).
 .TP 15
 [EOPNOTSUPP]
 An attempt was made to open a socket (not currently implemented).
index 400dc51..fc33a90 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)pipe.2      6.1 (Berkeley) %G%
+.\"    @(#)pipe.2      6.2 (Berkeley) %G%
 .\"
 .TH PIPE 2 ""
 .UC 4
 .\"
 .TH PIPE 2 ""
 .UC 4
@@ -67,6 +67,9 @@ The \fIpipe\fP call will fail if:
 [EMFILE]
 Too many descriptors are active.
 .TP 15
 [EMFILE]
 Too many descriptors are active.
 .TP 15
+[ENFILE]
+The system file table is full.
+.TP 15
 [EFAULT]
 The \fIfildes\fP buffer is in an invalid area of the process's address
 space.
 [EFAULT]
 The \fIfildes\fP buffer is in an invalid area of the process's address
 space.
index 6f2fe45..b3d7787 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)ptrace.2    6.2 (Berkeley) %G%
+.\"    @(#)ptrace.2    6.3 (Berkeley) %G%
 .\"
 .TH PTRACE 2 ""
 .UC 4
 .\"
 .TH PTRACE 2 ""
 .UC 4
@@ -180,16 +180,16 @@ then a \-1 is returned and the global variable \fIerrno\fP is
 set to indicate the error.
 .SH "ERRORS
 .TP 15
 set to indicate the error.
 .SH "ERRORS
 .TP 15
-[EINVAL]
+[EIO]
 The request code is invalid.
 .TP 15
 The request code is invalid.
 .TP 15
-[EINVAL]
+[ESRCH]
 The specified process does not exist.
 .TP 15
 The specified process does not exist.
 .TP 15
-[EINVAL]
+[EIO]
 The given signal number is invalid.
 .TP 15
 The given signal number is invalid.
 .TP 15
-[EFAULT]
+[EIO]
 The specified address is out of bounds.
 .TP 15
 [EPERM]
 The specified address is out of bounds.
 .TP 15
 [EPERM]
index bdcf4ef..487274c 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)read.2      6.2 (Berkeley) %G%
+.\"    @(#)read.2      6.3 (Berkeley) %G%
 .\"
 .TH READ 2 ""
 .UC 4
 .\"
 .TH READ 2 ""
 .UC 4
@@ -110,6 +110,9 @@ will fail if one or more of the following are true:
 [EFAULT]
 \fIBuf\fP points outside the allocated address space.
 .TP 15
 [EFAULT]
 \fIBuf\fP points outside the allocated address space.
 .TP 15
+[EIO]
+An I/O error occurred while reading from the file system.
+.TP 15
 [EINTR]
 A read from a slow device was interrupted before
 any data arrived by the delivery of a signal.
 [EINTR]
 A read from a slow device was interrupted before
 any data arrived by the delivery of a signal.
@@ -135,5 +138,8 @@ The sum of the
 values in the
 .I iov
 array overflowed a 32-bit integer.
 values in the
 .I iov
 array overflowed a 32-bit integer.
+.TP 15
+[EFAULT]
+Part of the \fIiov\fP points outside the process's allocated address space.
 .SH "SEE ALSO"
 dup(2), open(2), pipe(2), socket(2), socketpair(2)
 .SH "SEE ALSO"
 dup(2), open(2), pipe(2), socket(2), socketpair(2)
index 417e900..17f768f 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)readlink.2  6.3 (Berkeley) %G%
+.\"    @(#)readlink.2  6.4 (Berkeley) %G%
 .\"
 .TH READLINK 2 ""
 .UC 5
 .\"
 .TH READLINK 2 ""
 .UC 5
@@ -56,6 +56,9 @@ Too many symbolic links were encountered in translating the pathname.
 [EINVAL]
 The named file is not a symbolic link.
 .TP 15
 [EINVAL]
 The named file is not a symbolic link.
 .TP 15
+[EIO]
+An I/O error occurred while reading from the file system.
+.TP 15
 [EFAULT]
 .I Buf
 extends outside the process's allocated address space.
 [EFAULT]
 .I Buf
 extends outside the process's allocated address space.
index 8c83abb..4abce4e 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)rename.2    6.2 (Berkeley) %G%
+.\"    @(#)rename.2    6.3 (Berkeley) %G%
 .\"
 .TH RENAME 2 ""
 .UC 5
 .\"
 .TH RENAME 2 ""
 .UC 5
@@ -79,6 +79,17 @@ A component of either path prefix denies search permission.
 The requested link requires writing in a directory with a mode
 that denies write permission.
 .TP 15
 The requested link requires writing in a directory with a mode
 that denies write permission.
 .TP 15
+[EPERM]
+The directory containing \fIfrom\fP is marked sticky,
+and neither the containing directory nor \fIfrom\fP
+are owned by the effective user ID.
+.TP 15
+[EPERM]
+The \fIto\fP file exists,
+the directory containing \fIto\fP is marked sticky,
+and neither the containing directory nor \fIto\fP
+are owned by the effective user ID.
+.TP 15
 [ELOOP]
 Too many symbolic links were encountered in translating either pathname.
 .TP 15
 [ELOOP]
 Too many symbolic links were encountered in translating either pathname.
 .TP 15
@@ -99,6 +110,17 @@ are on different logical devices (file systems).  Note that this error
 code will not be returned if the implementation permits cross-device
 links.
 .TP 15
 code will not be returned if the implementation permits cross-device
 links.
 .TP 15
+[ENOSPC]
+The directory in which the entry for the new name is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[EDQUOT]
+The directory in which the entry for the new name
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
 [EIO]
 An I/O error occurred while making or updating a directory entry.
 .TP 15
 [EIO]
 An I/O error occurred while making or updating a directory entry.
 .TP 15
index 282eee9..4953587 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)rmdir.2     6.2 (Berkeley) %G%
+.\"    @(#)rmdir.2     6.3 (Berkeley) %G%
 .\"
 .TH RMDIR 2 ""
 .UC 5
 .\"
 .TH RMDIR 2 ""
 .UC 5
@@ -55,6 +55,11 @@ Search permission is denied for a component of the path prefix.
 Write permission is denied on the directory containing the link
 to be removed.
 .TP 15
 Write permission is denied on the directory containing the link
 to be removed.
 .TP 15
+[EPERM]
+The directory containing the directory to be removed is marked sticky,
+and neither the containing directory nor the directory to be removed
+are owned by the effective user ID.
+.TP 15
 [EBUSY]
 The directory to be removed is the mount point
 for a mounted file system.
 [EBUSY]
 The directory to be removed is the mount point
 for a mounted file system.
index 39bc8d7..89155e8 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)stat.2      6.3 (Berkeley) %G%
+.\"    @(#)stat.2      6.4 (Berkeley) %G%
 .\"
 .TH STAT 2 ""
 .UC 4
 .\"
 .TH STAT 2 ""
 .UC 4
@@ -174,6 +174,9 @@ Too many symbolic links were encountered in translating the pathname.
 or
 .I name
 points to an invalid address.
 or
 .I name
 points to an invalid address.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .PP
 .I Fstat
 will fail if one or both of the following are true:
 .PP
 .I Fstat
 will fail if one or both of the following are true:
@@ -185,6 +188,9 @@ is not a valid open file descriptor.
 [EFAULT]
 .I Buf
 points to an invalid address.
 [EFAULT]
 .I Buf
 points to an invalid address.
+.TP 15
+[EIO]
+An I/O error occurred while reading from or writing to the file system.
 .SH CAVEAT
 The fields in the stat structure currently marked 
 .IR st_spare1 ,
 .SH CAVEAT
 The fields in the stat structure currently marked 
 .IR st_spare1 ,
index d4bd82a..fc1ef13 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)swapon.2    6.2 (Berkeley) %G%
+.\"    @(#)swapon.2    6.3 (Berkeley) %G%
 .\"
 .TH SWAPON 2 ""
 .UC 4
 .\"
 .TH SWAPON 2 ""
 .UC 4
@@ -49,6 +49,31 @@ Too many symbolic links were encountered in translating the pathname.
 .TP 15
 [EPERM]
 The caller is not the super-user.
 .TP 15
 [EPERM]
 The caller is not the super-user.
+.TP 15
+[ENOTBLK]
+.I Special
+is not a block device.
+.TP 15
+[EBUSY]
+The device specified by \fIspecial\fP has already
+been made available for swapping
+.TP 15
+[EINVAL]
+The device configured by \fIspecial\fP was not
+configured into the system as a swap device.
+.TP 15
+[ENXIO]
+The major device number of 
+.I special
+is out of range (this indicates no device driver exists
+for the associated hardware).
+.TP 15
+[EIO]
+An I/O error occurred while opening the swap device.
+.TP 15
+[EFAULT]
+.I Special
+points outside the process's allocated address space.
 .SH "SEE ALSO"
 swapon(8), config(8)
 .SH BUGS
 .SH "SEE ALSO"
 swapon(8), config(8)
 .SH BUGS
index a785024..9fd92ed 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)symlink.2   6.2 (Berkeley) %G%
+.\"    @(#)symlink.2   6.3 (Berkeley) %G%
 .\"
 .TH SYMLINK 2 ""
 .UC 5
 .\"
 .TH SYMLINK 2 ""
 .UC 5
@@ -64,6 +64,38 @@ or writing out the link contents of \fIname2\fP.
 [EROFS]
 The file \fIname2\fP would reside on a read-only file system.
 .TP 15
 [EROFS]
 The file \fIname2\fP would reside on a read-only file system.
 .TP 15
+[ENOSPC]
+The directory in which the entry for the new symbolic link is being placed
+cannot be extended because there is no space left on the file
+system containing the directory.
+.TP 15
+[ENOSPC]
+The new symbolic link cannot be created because there
+there is no space left on the file
+system that will contain the symbolic link.
+.TP 15
+[ENOSPC]
+There are no free inodes on the file system on which the
+symbolic link is being created.
+.TP 15
+[EDQUOT]
+The directory in which the entry for the new symbolic link
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted.
+.TP 15
+[EDQUOT]
+The new symbolic link cannot be created because the user's
+quota of disk blocks on the file system that will
+contain the symbolic link has been exhausted.
+.TP 15
+[EDQUOT]
+The user's quota of inodes on the file system on
+which the symbolic link is being created has been exhausted.
+.TP 15
+[EIO]
+An I/O error occurred while making the directory entry or allocating the inode.
+.TP 15
 [EFAULT]
 .I Name1
 or
 [EFAULT]
 .I Name1
 or
index 7450743..15fd331 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)truncate.2  6.3 (Berkeley) %G%
+.\"    @(#)truncate.2  6.4 (Berkeley) %G%
 .\"
 .TH TRUNCATE 2 ""
 .UC 5
 .\"
 .TH TRUNCATE 2 ""
 .UC 5
@@ -73,7 +73,7 @@ The file is a pure procedure (shared text) file that is being executed.
 An I/O error occurred updating the inode.
 .TP 15
 [EFAULT]
 An I/O error occurred updating the inode.
 .TP 15
 [EFAULT]
-.I Name
+.I Path
 points outside the process's allocated address space.
 .PP
 .I Ftruncate
 points outside the process's allocated address space.
 .PP
 .I Ftruncate
index 1f21425..9d679f1 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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.
 .\"
-.\"    @(#)utimes.2    6.3 (Berkeley) %G%
+.\"    @(#)utimes.2    6.4 (Berkeley) %G%
 .\"
 .TH UTIMES 2 ""
 .UC 4
 .\"
 .TH UTIMES 2 ""
 .UC 4
@@ -63,16 +63,14 @@ The process is not super-user and not the owner of the file.
 [EACCES]
 Search permission is denied for a component of the path prefix.
 .TP 15
 [EACCES]
 Search permission is denied for a component of the path prefix.
 .TP 15
-[EACCES]
-The effective user ID is not super-user and not the
-owner of the file and write access to the file
-is denied.
-.TP 15
 [EROFS]
 The file system containing the file is mounted read-only.
 .TP 15
 [EFAULT]
 [EROFS]
 The file system containing the file is mounted read-only.
 .TP 15
 [EFAULT]
-.I Tvp
-points outside the process's allocated address space.
+.I File
+or \fItvp\fP points outside the process's allocated address space.
+.TP 15
+[EIO]
+An I/O error occurred while reading or writing the affected inode.
 .SH SEE ALSO
 stat(2)
 .SH SEE ALSO
 stat(2)
index 10d8e22..b3af055 100644 (file)
@@ -2,7 +2,7 @@
 .\" 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     6.2 (Berkeley) %G%
+.\"    @(#)write.2     6.3 (Berkeley) %G%
 .\"
 .TH WRITE 2 ""
 .UC 4
 .\"
 .TH WRITE 2 ""
 .UC 4
@@ -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)