From 4f79a4117afc96aa2c1487fb8024a97c94389af0 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Thu, 4 May 2000 13:09:25 +0000 Subject: [PATCH] Use `Er' variable to define first column width in ERRORS section. It was initially suggested by mdoc(7) style, but was broken over the years --- lib/libc/sys/accept.2 | 2 +- lib/libc/sys/bind.2 | 2 +- lib/libc/sys/brk.2 | 2 +- lib/libc/sys/chroot.2 | 2 +- lib/libc/sys/clock_gettime.2 | 2 +- lib/libc/sys/connect.2 | 2 +- lib/libc/sys/execve.2 | 2 +- lib/libc/sys/flock.2 | 2 +- lib/libc/sys/fork.2 | 2 +- lib/libc/sys/getpeername.2 | 2 +- lib/libc/sys/getsockname.2 | 2 +- lib/libc/sys/getsockopt.2 | 2 +- lib/libc/sys/gettimeofday.2 | 2 +- lib/libc/sys/ioctl.2 | 2 +- lib/libc/sys/jail.2 | 2 +- lib/libc/sys/kill.2 | 2 +- lib/libc/sys/ktrace.2 | 4 ++-- lib/libc/sys/link.2 | 2 +- lib/libc/sys/listen.2 | 2 +- lib/libc/sys/lseek.2 | 2 +- lib/libc/sys/mkdir.2 | 2 +- lib/libc/sys/mkfifo.2 | 2 +- lib/libc/sys/mount.2 | 2 +- lib/libc/sys/nfssvc.2 | 2 +- lib/libc/sys/pipe.2 | 2 +- lib/libc/sys/ptrace.2 | 2 +- lib/libc/sys/quotactl.2 | 2 +- lib/libc/sys/readlink.2 | 2 +- lib/libc/sys/recv.2 | 2 +- lib/libc/sys/rename.2 | 2 +- lib/libc/sys/rfork.2 | 2 +- lib/libc/sys/rmdir.2 | 2 +- lib/libc/sys/sched_get_priority_max.2 | 2 +- lib/libc/sys/sched_setparam.2 | 2 +- lib/libc/sys/sched_setscheduler.2 | 2 +- lib/libc/sys/sched_yield.2 | 2 +- lib/libc/sys/setpgid.2 | 2 +- lib/libc/sys/setregid.2 | 2 +- lib/libc/sys/setresuid.2 | 2 +- lib/libc/sys/setreuid.2 | 2 +- lib/libc/sys/shutdown.2 | 2 +- lib/libc/sys/sigaltstack.2 | 2 +- lib/libc/sys/sigprocmask.2 | 2 +- lib/libc/sys/sigreturn.2 | 2 +- lib/libc/sys/socket.2 | 2 +- lib/libc/sys/socketpair.2 | 2 +- lib/libc/sys/stat.2 | 2 +- lib/libc/sys/statfs.2 | 2 +- lib/libc/sys/swapon.2 | 2 +- lib/libc/sys/symlink.2 | 2 +- lib/libc/sys/truncate.2 | 2 +- lib/libc/sys/undelete.2 | 2 +- lib/libc/sys/unlink.2 | 2 +- 53 files changed, 54 insertions(+), 54 deletions(-) diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 9e932e81689..d1e0a60ec2f 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -165,7 +165,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 EINTR diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2 index 9cb99f7d4fb..2e10134d838 100644 --- a/lib/libc/sys/bind.2 +++ b/lib/libc/sys/bind.2 @@ -95,7 +95,7 @@ further specified in the global The .Fn bind call will fail if: -.Bl -tag -width EADDRNOTAVA +.Bl -tag -width Er .It Bq Er EAGAIN Kernel resources to complete the request are temporarily unavilable. diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2 index c8dd4e1d22a..b77fb02c46f 100644 --- a/lib/libc/sys/brk.2 +++ b/lib/libc/sys/brk.2 @@ -122,7 +122,7 @@ or .Fn sbrk 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 , diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index 2cdb45e4d25..11a144a339b 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -97,7 +97,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 EPERM diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2 index 9ed12003163..e8421592e71 100644 --- a/lib/libc/sys/clock_gettime.2 +++ b/lib/libc/sys/clock_gettime.2 @@ -101,7 +101,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 EINVAL The .Fa clock_id diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index 373fa0f799d..bb2ab8c8ef9 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -105,7 +105,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. diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index bfec668ea54..5a7364309a8 100644 --- a/lib/libc/sys/execve.2 +++ b/lib/libc/sys/execve.2 @@ -220,7 +220,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 ENAMETOOLONG diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index d7cdc8ae891..6a0d5095921 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -143,7 +143,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 diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2 index 62ce4286e6f..ba948731dd1 100644 --- a/lib/libc/sys/fork.2 +++ b/lib/libc/sys/fork.2 @@ -88,7 +88,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. diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2 index 71a93f9b94d..25e84c3979e 100644 --- a/lib/libc/sys/getpeername.2 +++ b/lib/libc/sys/getpeername.2 @@ -84,7 +84,7 @@ unlocks 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 diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2 index e13c5e05cbe..95a5278a9e8 100644 --- a/lib/libc/sys/getsockname.2 +++ b/lib/libc/sys/getsockname.2 @@ -82,7 +82,7 @@ unlocks 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 diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index 206610885b9..446fa6403e9 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -362,7 +362,7 @@ unlocks 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 diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2 index f421d1da085..36dfe60251b 100644 --- a/lib/libc/sys/gettimeofday.2 +++ b/lib/libc/sys/gettimeofday.2 @@ -115,7 +115,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 diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index 758e97e65ef..de7e3ca8046 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -114,7 +114,7 @@ is set to indicate the error. .Sh ERRORS .Fn Ioctl will fail if: -.Bl -tag -width [ENOTTY] +.Bl -tag -width Er .It Bq Er EBADF .Fa d is not a valid descriptor. diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index 36d55925930..9b36eb66bb5 100644 --- a/lib/libc/sys/jail.2 +++ b/lib/libc/sys/jail.2 @@ -77,7 +77,7 @@ set for the prison for jailed processes. .Sh ERRORS .Fn jail will fail if: -.Bl -tag -width EWOULDBLOCK +.Bl -tag -width Er .It Bq Er EINVAL The version number of the argument is not correct. .El diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index d8346dcf1a9..8ce5c71949d 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -110,7 +110,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. diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 096a3bdcb7a..7e361349da1 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -130,7 +130,7 @@ bytes of a .Nm ktr_type record. The type specific records are defined in the -.Pa +.Aq Pa sys/ktrace.h include file. .Sh RETURN VALUES On successful completion a value of 0 is returned. @@ -140,7 +140,7 @@ is set to show the error. .Sh ERRORS .Fn Ktrace 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 ENAMETOOLONG diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2 index 53cc8739fd5..34c36dcaad8 100644 --- a/lib/libc/sys/link.2 +++ b/lib/libc/sys/link.2 @@ -87,7 +87,7 @@ is set to indicate the error. .Sh ERRORS .Fn Link will fail and no link will be created if: -.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 ENAMETOOLONG diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2 index 168069315df..4ea40bdf1d4 100644 --- a/lib/libc/sys/listen.2 +++ b/lib/libc/sys/listen.2 @@ -112,7 +112,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 diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2 index ab67c565f2e..5ca26cbb135 100644 --- a/lib/libc/sys/lseek.2 +++ b/lib/libc/sys/lseek.2 @@ -114,7 +114,7 @@ the error. .Sh ERRORS .Fn Lseek will fail and the file position 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. diff --git a/lib/libc/sys/mkdir.2 b/lib/libc/sys/mkdir.2 index b45cb620e2c..861480f0d15 100644 --- a/lib/libc/sys/mkdir.2 +++ b/lib/libc/sys/mkdir.2 @@ -64,7 +64,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 ENAMETOOLONG diff --git a/lib/libc/sys/mkfifo.2 b/lib/libc/sys/mkfifo.2 index 4ecf4eb87b0..bf0e84d308b 100644 --- a/lib/libc/sys/mkfifo.2 +++ b/lib/libc/sys/mkfifo.2 @@ -66,7 +66,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 diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2 index 22641636440..5685646e67b 100644 --- a/lib/libc/sys/mount.2 +++ b/lib/libc/sys/mount.2 @@ -186,7 +186,7 @@ is set to indicate the error. The .Fn mount function 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 diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2 index ddf219f7009..17f4a9974a5 100644 --- a/lib/libc/sys/nfssvc.2 +++ b/lib/libc/sys/nfssvc.2 @@ -221,7 +221,7 @@ Otherwise, -1 is returned and the global variable .Va errno is set to specify the error. .Sh ERRORS -.Bl -tag -width [ENEEDAUTH] +.Bl -tag -width Er .It Bq Er ENEEDAUTH This special error value is really used for authentication support, particularly Kerberos, diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2 index 2ddc2d53d8c..e63f6cff9be 100644 --- a/lib/libc/sys/pipe.2 +++ b/lib/libc/sys/pipe.2 @@ -98,7 +98,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 diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 55b884d7399..96c41c1258a 100644 --- a/lib/libc/sys/ptrace.2 +++ b/lib/libc/sys/ptrace.2 @@ -234,7 +234,7 @@ can be set to 0 before the call and checked afterwards. The .Fn ptrace function may fail if: -.Bl -tag -width 4n +.Bl -tag -width Er .It Bq Er ESRCH .Bl -bullet -compact .It diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index a605850f422..75de692e70e 100644 --- a/lib/libc/sys/quotactl.2 +++ b/lib/libc/sys/quotactl.2 @@ -159,7 +159,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 diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2 index e7b2a27d243..160686d4941 100644 --- a/lib/libc/sys/readlink.2 +++ b/lib/libc/sys/readlink.2 @@ -66,7 +66,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 ENAMETOOLONG diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2 index 29d4c4a10d7..e504929fbb1 100644 --- a/lib/libc/sys/recv.2 +++ b/lib/libc/sys/recv.2 @@ -256,7 +256,7 @@ These calls return the number of bytes received, or -1 if an error occurred. .Sh ERRORS The calls fail if: -.Bl -tag -width ENOTCONNAA +.Bl -tag -width Er .It Bq Er EBADF The argument .Fa s diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2 index df1899145b0..8a94b4d7805 100644 --- a/lib/libc/sys/rename.2 +++ b/lib/libc/sys/rename.2 @@ -107,7 +107,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 ENAMETOOLONG A component of either pathname exceeded 255 characters, or the entire length of either path name exceeded 1023 characters. diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2 index 852d2977f07..520b8139e17 100644 --- a/lib/libc/sys/rfork.2 +++ b/lib/libc/sys/rfork.2 @@ -106,7 +106,7 @@ is set to indicate the error. .Sh ERRORS .Fn Rfork 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. diff --git a/lib/libc/sys/rmdir.2 b/lib/libc/sys/rmdir.2 index d044e438b4b..a8b94fbf2d5 100644 --- a/lib/libc/sys/rmdir.2 +++ b/lib/libc/sys/rmdir.2 @@ -60,7 +60,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 ENAMETOOLONG diff --git a/lib/libc/sys/sched_get_priority_max.2 b/lib/libc/sys/sched_get_priority_max.2 index 5f3094adda6..e98fa38d42b 100644 --- a/lib/libc/sys/sched_get_priority_max.2 +++ b/lib/libc/sys/sched_get_priority_max.2 @@ -95,7 +95,7 @@ to indicate the error. On failure .Va errno will be set to the corresponding value: -.Bl -tag -width [EFAULT] +.Bl -tag -width Er .It Bq Er EINVAL The value of the .Fa policy diff --git a/lib/libc/sys/sched_setparam.2 b/lib/libc/sys/sched_setparam.2 index 732cd953bc0..879a2505ba6 100644 --- a/lib/libc/sys/sched_setparam.2 +++ b/lib/libc/sys/sched_setparam.2 @@ -142,7 +142,7 @@ to indicate the error. On failure .Va errno will be set to the corresponding value: -.Bl -tag -width [EFAULT] +.Bl -tag -width Er .It Bq Er ENOSYS The system is not configured to support this functionality. .It Bq Er EPERM diff --git a/lib/libc/sys/sched_setscheduler.2 b/lib/libc/sys/sched_setscheduler.2 index 1ee37e08916..9610c01eb49 100644 --- a/lib/libc/sys/sched_setscheduler.2 +++ b/lib/libc/sys/sched_setscheduler.2 @@ -137,7 +137,7 @@ to indicate the error. On failure .Va errno will be set to the corresponding value: -.Bl -tag -width [EFAULT] +.Bl -tag -width Er .It Bq Er ENOSYS The system is not configured to support this functionality. .It Bq Er EPERM diff --git a/lib/libc/sys/sched_yield.2 b/lib/libc/sys/sched_yield.2 index 5adf7ad5251..4f3fc4e07f7 100644 --- a/lib/libc/sys/sched_yield.2 +++ b/lib/libc/sys/sched_yield.2 @@ -51,7 +51,7 @@ to indicate the error. On failure .Va errno will be set to the corresponding value: -.Bl -tag -width [EFAULT] +.Bl -tag -width Er .It Bq Er ENOSYS The system is not configured to support this functionality. .Sh STANDARDS diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index 24526deb2ef..5b387575768 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -69,7 +69,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 diff --git a/lib/libc/sys/setregid.2 b/lib/libc/sys/setregid.2 index 1a4e5677591..9fcb1d1a233 100644 --- a/lib/libc/sys/setregid.2 +++ b/lib/libc/sys/setregid.2 @@ -76,7 +76,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 diff --git a/lib/libc/sys/setresuid.2 b/lib/libc/sys/setresuid.2 index f592dc954a9..8ae21174ce7 100644 --- a/lib/libc/sys/setresuid.2 +++ b/lib/libc/sys/setresuid.2 @@ -58,7 +58,7 @@ and the global variable .Va errno is set to indicate the error. .Sh ERRORS -.Bl -tag -width indent +.Bl -tag -width Er .It Er EPERM The calling process was not privileged and tried to change one or more IDs to a value diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2 index b7e933d1e57..e2309257dc0 100644 --- a/lib/libc/sys/setreuid.2 +++ b/lib/libc/sys/setreuid.2 @@ -75,7 +75,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 diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index 51db758bc62..ce83401a1df 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -71,7 +71,7 @@ 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. diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index f927034bac2..33830149bb3 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -141,7 +141,7 @@ is set to indicate the error. .Fn Sigaltstack will fail and the signal stack context will remain unchanged if one of the following occurs. -.Bl -tag -width [ENOMEM] +.Bl -tag -width Er .It Bq Er EFAULT Either .Fa ss diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2 index 55e24515e7a..2948c50f45a 100644 --- a/lib/libc/sys/sigprocmask.2 +++ b/lib/libc/sys/sigprocmask.2 @@ -105,7 +105,7 @@ 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. diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2 index 0aeaf8e79f7..c5185fea7ea 100644 --- a/lib/libc/sys/sigreturn.2 +++ b/lib/libc/sys/sigreturn.2 @@ -96,7 +96,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 diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 22075800da4..b6e5a65877b 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -251,7 +251,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. diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2 index c56348cdc07..7b97170a68d 100644 --- a/lib/libc/sys/socketpair.2 +++ b/lib/libc/sys/socketpair.2 @@ -65,7 +65,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 diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index b1cb56c9d73..ef3a858958d 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -220,7 +220,7 @@ fields. 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 ENAMETOOLONG diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index f18d0c75df9..82cd9810f8c 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -131,7 +131,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 diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2 index 4ab239d028b..99e42619c65 100644 --- a/lib/libc/sys/swapon.2 +++ b/lib/libc/sys/swapon.2 @@ -62,7 +62,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 ENAMETOOLONG diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2 index 0f4779d0ca9..92e1849a2c2 100644 --- a/lib/libc/sys/symlink.2 +++ b/lib/libc/sys/symlink.2 @@ -64,7 +64,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 diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2 index 010e4bb3baf..b9a494e3988 100644 --- a/lib/libc/sys/truncate.2 +++ b/lib/libc/sys/truncate.2 @@ -72,7 +72,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 ENAMETOOLONG diff --git a/lib/libc/sys/undelete.2 b/lib/libc/sys/undelete.2 index 3e664390dd1..9eb71e76410 100644 --- a/lib/libc/sys/undelete.2 +++ b/lib/libc/sys/undelete.2 @@ -69,7 +69,7 @@ is set to indicate the error. The .Fn undelete 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 ENAMETOOLONG diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index 96054a6dbcb..15fe8444af6 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -70,7 +70,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 ENAMETOOLONG