Use "Er" for argument to -width in the lists in the ERROR sections --- so

the formatting is consistant.
This commit is contained in:
jtc 1993-11-29 21:24:57 +00:00
parent 8caf0ca62b
commit 250b6aa06e
48 changed files with 106 additions and 105 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)accept.2 6.6 (Berkeley) 4/29/91
.\" $Id: accept.2,v 1.3 1993/11/25 00:38:19 jtc Exp $
.\" $Id: accept.2,v 1.4 1993/11/29 21:24:57 jtc Exp $
.\"
.Dd April 29, 1991
.Dt ACCEPT 2
@ -137,7 +137,7 @@ integer that is a descriptor for the accepted socket.
The
.Fn accept
will fail if:
.Bl -tag -width EWOULDBLOCK
.Bl -tag -width Er
.It Bq Er EBADF
The descriptor is invalid.
.It Bq Er ENOTSOCK

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)async_daemon.2 6.4 (Berkeley) 7/23/91
.\" $Id: async_daemon.2,v 1.3 1993/11/25 00:38:24 jtc Exp $
.\" $Id: async_daemon.2,v 1.4 1993/11/29 21:24:59 jtc Exp $
.\"
.Dd July 23, 1991
.Dt ASYNC_DAEMON 2
@ -61,7 +61,7 @@ is set to indicate the error.
The
.Em nfssvc
fails if the following is true:
.Bl -tag -width [EPERM]
.Bl -tag -width Er
.It Bq Er EPERM
The caller is not the super-user.
.El

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)bind.2 6.9 (Berkeley) 3/10/91
.\" $Id: bind.2,v 1.3 1993/11/25 00:38:25 jtc Exp $
.\" $Id: bind.2,v 1.4 1993/11/29 21:25:00 jtc Exp $
.\"
.Dd March 10, 1991
.Dt BIND 2
@ -72,7 +72,7 @@ further specified in the global
The
.Fn bind
call will fail if:
.Bl -tag -width EADDRNOTAVA
.Bl -tag -width Er
.It Bq Er EBADF
.Fa S
is not a valid descriptor.
@ -96,7 +96,7 @@ address space.
.El
.Pp
The following errors are specific to binding names in the UNIX domain.
.Bl -tag -width EADDRNOTAVA
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)brk.2 6.5 (Berkeley) 3/10/91
.\" $Id: brk.2,v 1.4 1993/11/25 02:49:19 jtc Exp $
.\" $Id: brk.2,v 1.5 1993/11/29 21:25:01 jtc Exp $
.\"
.Dd March 10, 1991
.Dt BRK 2
@ -116,7 +116,7 @@ is returned.
.\" returns -1 if the break could not be set.
.\" will fail and no additional memory will be allocated if
.\" one of the following are true:
.\" .Bl -tag -width [ENOMEM]
.\" .Bl -tag -width Er
.\" .It Bq Er ENOMEM
.\" The limit, as set by
.\" .Xr setrlimit 2 ,

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chroot.2 6.5 (Berkeley) 3/10/91
.\" $Id: chroot.2,v 1.3 1993/11/25 00:38:32 jtc Exp $
.\" $Id: chroot.2,v 1.4 1993/11/29 21:25:02 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CHROOT 2
@ -69,7 +69,7 @@ is set to indicate an error.
.Sh ERRORS
.Fn Chroot
will fail and the root directory will be unchanged if:
.Bl -tag -width [ENOTDIR]
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path name is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)connect.2 6.9 (Berkeley) 3/10/91
.\" $Id: connect.2,v 1.3 1993/11/25 00:38:35 jtc Exp $
.\" $Id: connect.2,v 1.4 1993/11/29 21:25:03 jtc Exp $
.\"
.Dd March 10, 1991
.Dt CONNECT 2
@ -78,7 +78,7 @@ code is stored in
The
.Fn connect
call fails if:
.Bl -tag -width EADDRNOTAVAILABB
.Bl -tag -width Er
.It Bq Er EBADF
.Fa S
is not a valid descriptor.
@ -119,7 +119,7 @@ has not yet been completed.
.Pp
The following errors are specific to connecting names in the UNIX domain.
These errors may not apply in future versions of the UNIX IPC domain.
.Bl -tag -width EADDRNOTAVAILABB
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)execve.2 6.9 (Berkeley) 3/10/91
.\" $Id: execve.2,v 1.4 1993/11/25 00:38:37 jtc Exp $
.\" $Id: execve.2,v 1.5 1993/11/29 21:25:05 jtc Exp $
.\"
.Dd March 10, 1991
.Dt EXECVE 2
@ -188,7 +188,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Execve
will fail and return to the calling process if:
.Bl -tag -width [ENAMETOOLONG]
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)flock.2 6.7 (Berkeley) 3/10/91
.\" $Id: flock.2,v 1.3 1993/11/25 00:38:40 jtc Exp $
.\" $Id: flock.2,v 1.4 1993/11/29 21:25:06 jtc Exp $
.\"
.Dd March 10, 1991
.Dt FLOCK 2
@ -119,7 +119,7 @@ the global location
The
.Fn flock
call fails if:
.Bl -tag -width EWOULDBLOCKAA
.Bl -tag -width Er
.It Bq Er EWOULDBLOCK
The file is locked and the
.Dv LOCK_NB

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)fork.2 6.5 (Berkeley) 3/10/91
.\" $Id: fork.2,v 1.4 1993/11/25 00:38:42 jtc Exp $
.\" $Id: fork.2,v 1.5 1993/11/29 21:25:07 jtc Exp $
.\"
.Dd March 10, 1991
.Dt FORK 2
@ -86,7 +86,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Fork
will fail and no child process will be created if:
.Bl -tag -width [EAGAIN]
.Bl -tag -width Er
.It Bq Er EAGAIN
The system-imposed limit on the total
number of processes under execution would be exceeded.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getdirentries.2 6.5 (Berkeley) 7/23/91
.\" $Id: getdirentries.2,v 1.4 1993/11/29 19:45:00 jtc Exp $
.\" $Id: getdirentries.2,v 1.5 1993/11/29 21:25:08 jtc Exp $
.\"
.Dd July 23, 1991
.Dt GETDIRENTRIES 2
@ -129,7 +129,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Getdirentries
will fail if:
.Bl -tag -width [EFAULT]
.Bl -tag -width Er
.It Bq Er EBADF
.Fa fd
is not a valid file descriptor open for reading.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getpeername.2 6.5 (Berkeley) 3/10/91
.\" $Id: getpeername.2,v 1.3 1993/11/25 00:38:58 jtc Exp $
.\" $Id: getpeername.2,v 1.4 1993/11/29 21:25:09 jtc Exp $
.\"
.Dd March 10, 1991
.Dt GETPEERNAME 2
@ -58,7 +58,7 @@ The name is truncated if the buffer provided is too small.
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
.Bl -tag -width ENOTSOCKAA
.Bl -tag -width Er
.It Bq Er EBADF
The argument
.Fa s

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getsockname.2 6.4 (Berkeley) 3/10/91
.\" $Id: getsockname.2,v 1.3 1993/11/25 00:39:05 jtc Exp $
.\" $Id: getsockname.2,v 1.4 1993/11/29 21:25:11 jtc Exp $
.\"
.Dd March 10, 1991
.Dt GETSOCKNAME 2
@ -56,7 +56,7 @@ returned (in bytes).
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
.Bl -tag -width ENOTSOCKAA
.Bl -tag -width Er
.It Bq Er EBADF
The argument
.Fa s

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getsockopt.2 6.9 (Berkeley) 5/1/91
.\" $Id: getsockopt.2,v 1.3 1993/11/25 00:39:06 jtc Exp $
.\" $Id: getsockopt.2,v 1.4 1993/11/29 21:25:13 jtc Exp $
.\"
.Dd May 1, 1991
.Dt GETSOCKOPT 2
@ -305,7 +305,7 @@ datagram sockets or for other asynchronous errors.
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
.Bl -tag -width ENOPROTOOPTAA
.Bl -tag -width Er
.It Bq Er EBADF
The argument
.Fa s

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)gettimeofday.2 6.11 (Berkeley) 3/10/91
.\" $Id: gettimeofday.2,v 1.3 1993/11/25 00:39:07 jtc Exp $
.\" $Id: gettimeofday.2,v 1.4 1993/11/29 21:25:14 jtc Exp $
.\"
.Dd March 10, 1991
.Dt GETTIMEOFDAY 2
@ -102,7 +102,7 @@ case an error code is stored into the global variable
.Sh ERRORS
The following error codes may be set in
.Va errno :
.Bl -tag -width [EFAULT]
.Bl -tag -width Er
.It Bq Er EFAULT
An argument address referenced invalid memory.
.It Bq Er EPERM

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ioctl.2 6.4 (Berkeley) 3/10/91
.\" $Id: ioctl.2,v 1.3 1993/11/25 00:39:10 jtc Exp $
.\" $Id: ioctl.2,v 1.4 1993/11/29 21:25:15 jtc Exp $
.\"
.Dd March 10, 1991
.Dt IOCTL 2
@ -76,7 +76,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Ioctl
will fail:
.Bl -tag -width [ENOTTY]
.Bl -tag -width Er
.It Bq Er EBADF
.Fa d
is not a valid descriptor.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)kill.2 6.6 (Berkeley) 3/10/91
.\" $Id: kill.2,v 1.3 1993/11/25 00:39:12 jtc Exp $
.\" $Id: kill.2,v 1.4 1993/11/29 21:25:16 jtc Exp $
.\"
.Dd March 10, 1991
.Dt KILL 2
@ -103,7 +103,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Kill
will fail and no signal will be sent if:
.Bl -tag -width [EINVAL]
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa Sig
is not a valid signal number.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)link.2 6.4 (Berkeley) 3/10/91
.\" $Id: link.2,v 1.3 1993/11/25 00:39:13 jtc Exp $
.\" $Id: link.2,v 1.4 1993/11/29 21:25:17 jtc Exp $
.\"
.Dd March 10, 1991
.Dt LINK 2
@ -87,7 +87,7 @@ is set to indicate the error.
.Fn Link
will fail and no link will be created if:
are true:
.Bl -tag -width Ar
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of either path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)listen.2 6.5 (Berkeley) 3/10/91
.\" $Id: listen.2,v 1.4 1993/11/25 02:49:23 jtc Exp $
.\" $Id: listen.2,v 1.5 1993/11/29 21:25:19 jtc Exp $
.\"
.Dd March 10, 1991
.Dt LISTEN 2
@ -74,7 +74,7 @@ A 0 return value indicates success; -1 indicates an error.
.Sh ERRORS
.Fn Listen
will fail if:
.Bl -tag -width [EOPNOTSUPP]
.Bl -tag -width Er
.It Bq Er EBADF
The argument
.Fa s

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)lseek.2 6.5 (Berkeley) 3/10/91
.\" $Id: lseek.2,v 1.3 1993/11/25 00:39:15 jtc Exp $
.\" $Id: lseek.2,v 1.4 1993/11/29 21:25:20 jtc Exp $
.\"
.Dd March 10, 1991
.Dt LSEEK 2
@ -110,7 +110,7 @@ the error.
.Sh ERRORS
.Fn Lseek
will fail and the file pointer will remain unchanged if:
.Bl -tag -width [EINVAL]
.Bl -tag -width Er
.It Bq Er EBADF
.Em Fildes
is not an open file descriptor.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mkdir.2 6.7 (Berkeley) 3/10/91
.\" $Id: mkdir.2,v 1.3 1993/11/25 00:39:17 jtc Exp $
.\" $Id: mkdir.2,v 1.4 1993/11/29 21:25:21 jtc Exp $
.\"
.Dd March 10, 1991
.Dt MKDIR 2
@ -61,7 +61,7 @@ indicates an error, and an error code is stored in
.Sh ERRORS
.Fn Mkdir
will fail and no directory will be created if:
.Bl -tag -width ENAMETOOLO
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mkfifo.2 6.4 (Berkeley) 7/23/91
.\" $Id: mkfifo.2,v 1.2 1993/08/01 07:42:40 mycroft Exp $
.\" $Id: mkfifo.2,v 1.3 1993/11/29 21:25:22 jtc Exp $
.\"
.Dd July 23, 1991
.Dt MKFIFO 2
@ -63,7 +63,7 @@ indicates an error, and an error code is stored in
.Sh ERRORS
.Fn Mkfifo
will fail and no fifo will be created if:
.Bl -tag -width ENAMETOOLO
.Bl -tag -width Er
.It Bq Er ENOTSUPP
The kernel has not been configured to support fifo's.
.It Bq Er ENOTDIR

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)mount.2 6.12 (Berkeley) 3/15/91
.\" $Id: mount.2,v 1.4 1993/11/25 00:39:19 jtc Exp $
.\" $Id: mount.2,v 1.5 1993/11/29 21:25:23 jtc Exp $
.\"
.Dd March 15, 1991
.Dt MOUNT 2
@ -177,7 +177,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Mount
will fail when one of the following occurs:
.Bl -tag -width [ENOTBLK]
.Bl -tag -width Er
.It Bq Er EPERM
The caller is not the super-user.
.It Bq Er ENAMETOOLONG
@ -209,7 +209,7 @@ points outside the process's allocated address space.
The following errors can occur for a
.Em ufs
file system mount:
.Bl -tag -width [ENOTBLK]
.Bl -tag -width Er
.It Bq Er ENODEV
A component of ufs_args
.Ar fspec
@ -244,7 +244,7 @@ points outside the process's allocated address space.
The following errors can occur for a
.Em nfs
file system mount:
.Bl -tag -width [ENOTBLK]
.Bl -tag -width Er
.It Bq Er ETIMEDOUT
.Em Nfs
timed out trying to contact the server.
@ -256,7 +256,7 @@ points outside the process's allocated address space.
The following errors can occur for a
.Em mfs
file system mount:
.Bl -tag -width [ENOTBLK]
.Bl -tag -width Er
.It Bq Er EMFILE
No space remains in the mount table.
.It Bq Er EINVAL
@ -275,7 +275,7 @@ points outside the process's allocated address space.
.Pp
.Nm Umount
may fail with one of the following errors:
.Bl -tag -width [ENOTBLK]
.Bl -tag -width Er
.It Bq Er EPERM
The caller is not the super-user.
.It Bq Er ENOTDIR

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)nfssvc.2 6.6 (Berkeley) 7/23/91
.\" $Id: nfssvc.2,v 1.4 1993/11/25 00:39:20 jtc Exp $
.\" $Id: nfssvc.2,v 1.5 1993/11/29 21:25:24 jtc Exp $
.\"
.Dd July 23, 1991
.Dt NFSSVC 2
@ -65,7 +65,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Nfssvc
fails if:
.Bl -tag -width [EPERM]
.Bl -tag -width Er
.It Bq Er EBADF
.Fa Fd
is not a valid open file descriptor.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)pipe.2 6.3 (Berkeley) 3/10/91
.\" $Id: pipe.2,v 1.3 1993/11/25 00:39:23 jtc Exp $
.\" $Id: pipe.2,v 1.4 1993/11/29 21:25:26 jtc Exp $
.\"
.Dd March 10, 1991
.Dt PIPE 2
@ -93,7 +93,7 @@ error.
The
.Fn pipe
call will fail if:
.Bl -tag -width [EMFILE]
.Bl -tag -width Er
.It Bq Er EMFILE
Too many descriptors are active.
.It Bq Er ENFILE

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)quotactl.2 6.13 (Berkeley) 7/23/91
.\" $Id: quotactl.2,v 1.4 1993/11/29 19:51:48 jtc Exp $
.\" $Id: quotactl.2,v 1.5 1993/11/29 21:25:27 jtc Exp $
.\"
.Dd July 23, 1991
.Dt QUOTACTL 2
@ -147,7 +147,7 @@ indicates the reason for the failure.
A
.Fn quotactl
call will fail if:
.Bl -tag -width ENAMETOOLONGAA
.Bl -tag -width Er
.It Bq Er EOPNOTSUPP
The kernel has not been compiled with the
.Dv QUOTA

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)readlink.2 6.8 (Berkeley) 3/10/91
.\" $Id: readlink.2,v 1.3 1993/11/25 00:39:27 jtc Exp $
.\" $Id: readlink.2,v 1.4 1993/11/29 21:25:28 jtc Exp $
.\"
.Dd March 10, 1991
.Dt READLINK 2
@ -63,7 +63,7 @@ code in the global variable
.Sh ERRORS
.Fn Readlink
will fail if:
.Bl -tag -width ENAMETOOLONG
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)recv.2 6.11 (Berkeley) 5/1/91
.\" $Id: recv.2,v 1.3 1993/11/25 00:39:30 jtc Exp $
.\" $Id: recv.2,v 1.4 1993/11/29 21:25:29 jtc Exp $
.\"
.Dd May 1, 1991
.Dt RECV 2
@ -224,7 +224,7 @@ These calls return the number of bytes received, or -1
if an error occurred.
.Sh ERRORS
The calls fail if:
.Bl -tag -width EWOULDBLOCKAA
.Bl -tag -width Er
.It Bq Er EBADF
The argument
.Fa s

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rename.2 6.7 (Berkeley) 3/10/91
.\" $Id: rename.2,v 1.3 1993/11/25 00:39:31 jtc Exp $
.\" $Id: rename.2,v 1.4 1993/11/29 21:25:31 jtc Exp $
.\"
.Dd March 10, 1991
.Dt RENAME 2
@ -105,7 +105,7 @@ indicates the reason for the failure.
.Fn Rename
will fail and neither of the argument files will be
affected if:
.Bl -tag -width ENAMETOOLONG
.Bl -tag -width Er
.It Bq Er EINVAL
Either pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rmdir.2 6.6 (Berkeley) 3/10/91
.\" $Id: rmdir.2,v 1.3 1993/11/25 00:39:32 jtc Exp $
.\" $Id: rmdir.2,v 1.4 1993/11/29 21:25:32 jtc Exp $
.\"
.Dd March 10, 1991
.Dt RMDIR 2
@ -58,7 +58,7 @@ returned and an error code is stored in the global location
.Va errno .
.Sh ERRORS
The named file is removed unless:
.Bl -tag -width [ENAMETOOLONG]
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)send.2 6.9 (Berkeley) 5/1/91
.\" $Id: send.2,v 1.3 1993/11/25 00:39:34 jtc Exp $
.\" $Id: send.2,v 1.4 1993/11/29 21:25:33 jtc Exp $
.\"
.Dd May 1, 1991
.Dt SEND 2
@ -125,7 +125,7 @@ if an error occurred.
and
.Fn sendmsg
fail if:
.Bl -tag -width [EWOULDBLOCK]
.Bl -tag -width Er
.It Bq Er EBADF
An invalid descriptor was specified.
.It Bq Er ENOTSOCK

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)setpgid.2 6.3 (Berkeley) 3/10/91
.\" $Id: setpgid.2,v 1.3 1993/11/25 00:39:37 jtc Exp $
.\" $Id: setpgid.2,v 1.4 1993/11/29 21:25:34 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SETPGRP 2
@ -67,7 +67,7 @@ indicates the reason.
.Sh ERRORS
.Fn Setpgid
will fail and the process group will not be altered if:
.Bl -tag -width indent
.Bl -tag -width Er
.It Bq Er ESRCH
The requested process does not exist.
.It Bq Er EPERM

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)setregid.2 6.4 (Berkeley) 3/10/91
.\" $Id: setregid.2,v 1.3 1993/11/25 00:39:38 jtc Exp $
.\" $Id: setregid.2,v 1.4 1993/11/29 21:25:35 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SETREGID 2
@ -58,7 +58,7 @@ a value of -1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
.Bl -tag -width [EPERM]
.Bl -tag -width Er
.It Bq Er EPERM
The current process is not the super-user and a change
other than changing the effective group-id to the real group-id

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)setreuid.2 6.4 (Berkeley) 3/10/91
.\" $Id: setreuid.2,v 1.3 1993/11/25 00:39:39 jtc Exp $
.\" $Id: setreuid.2,v 1.4 1993/11/29 21:25:36 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SETREUID 2
@ -59,7 +59,7 @@ a value of -1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
.Bl -tag -width [EPERM]
.Bl -tag -width Er
.It Bq Er EPERM
The current process is not the super-user and a change
other than changing the effective user-id to the real user-id

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)shutdown.2 6.4 (Berkeley) 3/10/91
.\" $Id: shutdown.2,v 1.3 1993/11/25 00:39:41 jtc Exp $
.\" $Id: shutdown.2,v 1.4 1993/11/29 21:25:38 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SHUTDOWN 2
@ -62,7 +62,7 @@ is 2, further sends and receives will be disallowed.
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
.Bl -tag -width ENOTCONNAA
.Bl -tag -width Er
.It Bq Er EBADF
.Fa S
is not a valid descriptor.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigprocmask.2 6.4 (Berkeley) 7/23/91
.\" $Id: sigprocmask.2,v 1.3 1993/11/25 00:39:42 jtc Exp $
.\" $Id: sigprocmask.2,v 1.4 1993/11/29 21:25:39 jtc Exp $
.\"
.Dd July 23, 1991
.Dt SIGPROCMASK 2
@ -104,10 +104,11 @@ The
.Fn sigprocmask
call will fail and the signal mask will be unchanged if one
of the following occurs:
.Bl -tag -width Bq Er EINVAL
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa how
has a value other than those listed here.
.El
.Sh SEE ALSO
.Xr kill 2 ,
.Xr sigaction 2 ,

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigreturn.2 6.5 (Berkeley) 3/10/91
.\" $Id: sigreturn.2,v 1.3 1993/11/25 00:39:43 jtc Exp $
.\" $Id: sigreturn.2,v 1.4 1993/11/29 21:25:40 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SIGRETURN 2
@ -79,7 +79,7 @@ is set to indicate the error.
.Fn Sigreturn
will fail and the process context will remain unchanged
if one of the following occurs.
.Bl -tag -width [EINVAL]
.Bl -tag -width Er
.It Bq Er EFAULT
.Fa Scp
points to memory that is not a valid part of the process

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sigstack.2 6.5 (Berkeley) 3/10/91
.\" $Id: sigstack.2,v 1.3 1993/11/25 00:39:45 jtc Exp $
.\" $Id: sigstack.2,v 1.4 1993/11/29 21:25:42 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SIGSTACK 2
@ -82,7 +82,7 @@ is set to indicate the error.
.Fn Sigstack
will fail and the signal stack context will remain unchanged
if one of the following occurs.
.Bl -tag -width [EFAULT]
.Bl -tag -width Er
.It Bq Er EFAULT
Either
.Fa ss

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)socket.2 6.8 (Berkeley) 3/10/91
.\" $Id: socket.2,v 1.3 1993/11/25 00:39:46 jtc Exp $
.\" $Id: socket.2,v 1.4 1993/11/29 21:25:43 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SOCKET 2
@ -212,7 +212,7 @@ value is a descriptor referencing the socket.
The
.Fn socket
call fails if:
.Bl -tag -width EPROTONOPSUPPORTA
.Bl -tag -width Er
.It Bq Er EPROTONOSUPPORT
The protocol type or the specified protocol is not supported
within this domain.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)socketpair.2 6.4 (Berkeley) 3/10/91
.\" $Id: socketpair.2,v 1.3 1993/11/25 00:39:47 jtc Exp $
.\" $Id: socketpair.2,v 1.4 1993/11/29 21:25:44 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SOCKETPAIR 2
@ -63,7 +63,7 @@ The two sockets are indistinguishable.
A 0 is returned if the call succeeds, -1 if it fails.
.Sh ERRORS
The call succeeds unless:
.Bl -tag -width EPROTONOSUPPORTA
.Bl -tag -width Er
.It Bq Er EMFILE
Too many descriptors are in use by this process.
.It Bq Er EAFNOSUPPORT

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)stat.2 6.9 (Berkeley) 3/10/91
.\" $Id: stat.2,v 1.3 1993/11/25 00:39:48 jtc Exp $
.\" $Id: stat.2,v 1.4 1993/11/29 21:25:45 jtc Exp $
.\"
.Dd March 10, 1991
.Dt STAT 2
@ -177,7 +177,7 @@ is set to indicate the error.
and
.Fn lstat
will fail if:
.Bl -tag -width ENAMETOOLONGAA
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL
@ -200,7 +200,7 @@ points to an invalid address.
An I/O error occurred while reading from or writing to the file system.
.El
.Pp
.Bl -tag -width [EFAULT]
.Bl -tag -width Er
.Fn Fstat
will fail if:
.It Bq Er EBADF

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)statfs.2 6.5 (Berkeley) 7/23/91
.\" $Id: statfs.2,v 1.3 1993/11/25 00:39:49 jtc Exp $
.\" $Id: statfs.2,v 1.4 1993/11/29 21:25:47 jtc Exp $
.\"
.Dd July 23, 1991
.Dt STATFS 2
@ -95,7 +95,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Statfs
fails if one or more of the following are true:
.Bl -tag -width ENAMETOOLONGA
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix of
.Fa Path
@ -133,7 +133,7 @@ error occurred while reading from or writing to the file system.
.Pp
.Fn Fstatfs
fails if one or both of the following are true:
.Bl -tag -width ENAMETOOLONGA
.Bl -tag -width Er
.It Bq Er EBADF
.Fa Fd
is not a valid open file descriptor.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)swapon.2 6.7 (Berkeley) 3/10/91
.\" $Id: swapon.2,v 1.3 1993/11/25 00:39:50 jtc Exp $
.\" $Id: swapon.2,v 1.4 1993/11/29 21:25:48 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SWAPON 2
@ -60,7 +60,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Swapon
succeeds unless:
.Bl -tag -width ENAMETOOLONG
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)symlink.2 6.6 (Berkeley) 3/10/91
.\" $Id: symlink.2,v 1.3 1993/11/25 00:39:52 jtc Exp $
.\" $Id: symlink.2,v 1.4 1993/11/29 21:25:49 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SYMLINK 2
@ -62,7 +62,7 @@ If an error occurs, the error code is stored in
and a -1 value is returned.
.Sh ERRORS
The symbolic link succeeds unless:
.Bl -tag -width ENAMETOO
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the
.Fa name2

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)truncate.2 6.9 (Berkeley) 3/10/91
.\" $Id: truncate.2,v 1.3 1993/11/25 00:39:56 jtc Exp $
.\" $Id: truncate.2,v 1.4 1993/11/29 21:25:50 jtc Exp $
.\"
.Dd March 10, 1991
.Dt TRUNCATE 2
@ -66,7 +66,7 @@ specifies the error.
.Sh ERRORS
.Fn Truncate
succeeds unless:
.Bl -tag -width [ENOTDIR]
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL
@ -97,7 +97,7 @@ points outside the process's allocated address space.
.Pp
.Fn Ftruncate
succeeds unless:
.Bl -tag -width [ENOTDIR]
.Bl -tag -width Er
.It Bq Er EBADF
The
.Fa fd

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)uname.2 6.6 (Berkeley) 3/10/91
.\" $Id: uname.2,v 1.3 1993/11/25 00:39:59 jtc Exp $
.\" $Id: uname.2,v 1.4 1993/11/29 21:25:51 jtc Exp $
.\"
.Dd March 29, 1993
.Dt UNAME 2
@ -78,7 +78,7 @@ further identify the operating system.
contains the standard name that identifies the hardware
that the UNIX system is running on.
.Sn ERRORS
.Bl -tag -width ENAMETOOLONGAA
.Bl -tag -width Er
.It Bq Er EFAULT
.Fn Uname
will fail if

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)unlink.2 6.3 (Berkeley) 3/10/91
.\" $Id: unlink.2,v 1.3 1993/11/25 00:40:00 jtc Exp $
.\" $Id: unlink.2,v 1.4 1993/11/29 21:25:52 jtc Exp $
.\"
.Dd March 10, 1991
.Dt UNLINK 2
@ -66,7 +66,7 @@ is set to indicate the error.
The
.Fn unlink
succeeds unless:
.Bl -tag -width ENAMETOOLONGAA
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getdirentries.2 6.5 (Berkeley) 7/23/91
.\" $Id: getdirentries.3,v 1.4 1993/11/29 19:45:00 jtc Exp $
.\" $Id: getdirentries.3,v 1.5 1993/11/29 21:25:08 jtc Exp $
.\"
.Dd July 23, 1991
.Dt GETDIRENTRIES 2
@ -129,7 +129,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Getdirentries
will fail if:
.Bl -tag -width [EFAULT]
.Bl -tag -width Er
.It Bq Er EBADF
.Fa fd
is not a valid file descriptor open for reading.

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)swapon.2 6.7 (Berkeley) 3/10/91
.\" $Id: swapon.3,v 1.3 1993/11/25 00:39:50 jtc Exp $
.\" $Id: swapon.3,v 1.4 1993/11/29 21:25:48 jtc Exp $
.\"
.Dd March 10, 1991
.Dt SWAPON 2
@ -60,7 +60,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn Swapon
succeeds unless:
.Bl -tag -width ENAMETOOLONG
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er EINVAL