summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/compat-43/sigvec.22
-rw-r--r--lib/libc/gen/getcwd.32
-rw-r--r--lib/libc/gen/pause.32
-rw-r--r--lib/libc/gen/signal.32
-rw-r--r--lib/libc/gen/time.32
-rw-r--r--lib/libc/gen/usleep.32
-rw-r--r--lib/libc/i386/sys/i386_get_ioperm.22
-rw-r--r--lib/libc/i386/sys/i386_get_ldt.22
-rw-r--r--lib/libc/i386/sys/i386_vm86.22
-rw-r--r--lib/libc/net/addr2ascii.32
-rw-r--r--lib/libc/stdio/fflush.32
-rw-r--r--lib/libc/stdio/fgetln.32
-rw-r--r--lib/libc/stdio/fgets.32
-rw-r--r--lib/libc/stdio/fopen.32
-rw-r--r--lib/libc/stdio/fputs.32
-rw-r--r--lib/libc/stdio/fseek.32
-rw-r--r--lib/libc/stdio/funopen.32
-rw-r--r--lib/libc/stdio/mktemp.32
-rw-r--r--lib/libc/stdlib/atexit.32
-rw-r--r--lib/libc/stdlib/getenv.32
-rw-r--r--lib/libc/stdlib/strtod.32
-rw-r--r--lib/libc/stdlib/strtol.32
-rw-r--r--lib/libc/stdlib/strtoul.32
-rw-r--r--lib/libc/sys/accept.22
-rw-r--r--lib/libc/sys/bind.22
-rw-r--r--lib/libc/sys/brk.22
-rw-r--r--lib/libc/sys/chroot.22
-rw-r--r--lib/libc/sys/clock_gettime.22
-rw-r--r--lib/libc/sys/connect.22
-rw-r--r--lib/libc/sys/execve.22
-rw-r--r--lib/libc/sys/flock.22
-rw-r--r--lib/libc/sys/fork.22
-rw-r--r--lib/libc/sys/getpeername.22
-rw-r--r--lib/libc/sys/getsockname.22
-rw-r--r--lib/libc/sys/getsockopt.22
-rw-r--r--lib/libc/sys/gettimeofday.22
-rw-r--r--lib/libc/sys/ioctl.22
-rw-r--r--lib/libc/sys/jail.22
-rw-r--r--lib/libc/sys/kill.22
-rw-r--r--lib/libc/sys/ktrace.24
-rw-r--r--lib/libc/sys/link.22
-rw-r--r--lib/libc/sys/listen.22
-rw-r--r--lib/libc/sys/lseek.22
-rw-r--r--lib/libc/sys/mkdir.22
-rw-r--r--lib/libc/sys/mkfifo.22
-rw-r--r--lib/libc/sys/mount.22
-rw-r--r--lib/libc/sys/nfssvc.22
-rw-r--r--lib/libc/sys/pipe.22
-rw-r--r--lib/libc/sys/ptrace.22
-rw-r--r--lib/libc/sys/quotactl.22
-rw-r--r--lib/libc/sys/readlink.22
-rw-r--r--lib/libc/sys/recv.22
-rw-r--r--lib/libc/sys/rename.22
-rw-r--r--lib/libc/sys/rfork.22
-rw-r--r--lib/libc/sys/rmdir.22
-rw-r--r--lib/libc/sys/sched_get_priority_max.22
-rw-r--r--lib/libc/sys/sched_setparam.22
-rw-r--r--lib/libc/sys/sched_setscheduler.22
-rw-r--r--lib/libc/sys/sched_yield.22
-rw-r--r--lib/libc/sys/setpgid.22
-rw-r--r--lib/libc/sys/setregid.22
-rw-r--r--lib/libc/sys/setresuid.22
-rw-r--r--lib/libc/sys/setreuid.22
-rw-r--r--lib/libc/sys/shutdown.22
-rw-r--r--lib/libc/sys/sigaltstack.22
-rw-r--r--lib/libc/sys/sigprocmask.22
-rw-r--r--lib/libc/sys/sigreturn.22
-rw-r--r--lib/libc/sys/socket.22
-rw-r--r--lib/libc/sys/socketpair.22
-rw-r--r--lib/libc/sys/stat.22
-rw-r--r--lib/libc/sys/statfs.22
-rw-r--r--lib/libc/sys/swapon.22
-rw-r--r--lib/libc/sys/symlink.22
-rw-r--r--lib/libc/sys/truncate.22
-rw-r--r--lib/libc/sys/undelete.22
-rw-r--r--lib/libc/sys/unlink.22
76 files changed, 77 insertions, 77 deletions
diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2
index 0674ccdcf425..de665e49c57e 100644
--- a/lib/libc/compat-43/sigvec.2
+++ b/lib/libc/compat-43/sigvec.2
@@ -263,7 +263,7 @@ is set to indicated the reason.
.Fn Sigvec
will fail and no new signal handler will be installed if one
of the following occurs:
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EFAULT
Either
.Fa vec
diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3
index 8faa4a4e9589..5f401933a4c5 100644
--- a/lib/libc/gen/getcwd.3
+++ b/lib/libc/gen/getcwd.3
@@ -111,7 +111,7 @@ The
.Fn getcwd
function
will fail if:
-.Bl -tag -width [EACCES]
+.Bl -tag -width Er
.It Bq Er EACCES
Read or search permission was denied for a component of the pathname.
.It Bq Er EINVAL
diff --git a/lib/libc/gen/pause.3 b/lib/libc/gen/pause.3
index c8315dd76b17..b9d20319f4ef 100644
--- a/lib/libc/gen/pause.3
+++ b/lib/libc/gen/pause.3
@@ -70,7 +70,7 @@ The
.Fn pause
function
always returns:
-.Bl -tag -width [EINTR]
+.Bl -tag -width Er
.It Bq Er EINTR
The call was interrupted.
.El
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 96630764abff..e0dc9e6583d4 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -207,7 +207,7 @@ is set to indicate the error.
.Fn Signal
will fail and no action will take place if one of the
following occur:
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EINVAL
.Em Sig
is not a valid signal number.
diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3
index 103a4ed041e8..53c76dff35d8 100644
--- a/lib/libc/gen/time.3
+++ b/lib/libc/gen/time.3
@@ -75,7 +75,7 @@ is set to indicate the error.
.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.
.Sh SEE ALSO
diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3
index dddc856785af..51e1bf2ef4d0 100644
--- a/lib/libc/gen/usleep.3
+++ b/lib/libc/gen/usleep.3
@@ -69,7 +69,7 @@ The
.Fn usleep
function
will fail if:
-.Bl -tag -width [EINTR]
+.Bl -tag -width Er
.It Bq Er EINTR
A signal was delivered to the process and its
action was to invoke a signal-catching function.
diff --git a/lib/libc/i386/sys/i386_get_ioperm.2 b/lib/libc/i386/sys/i386_get_ioperm.2
index f433c5bf8d88..aad357bef7a4 100644
--- a/lib/libc/i386/sys/i386_get_ioperm.2
+++ b/lib/libc/i386/sys/i386_get_ioperm.2
@@ -71,7 +71,7 @@ is set to indicate the error.
and
.Fn i386_set_ioperm
will fail if:
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EINVAL
An invalid range was specified by the
.Fa start
diff --git a/lib/libc/i386/sys/i386_get_ldt.2 b/lib/libc/i386/sys/i386_get_ldt.2
index 01ab02acc5f2..8db81b3d8fe5 100644
--- a/lib/libc/i386/sys/i386_get_ldt.2
+++ b/lib/libc/i386/sys/i386_get_ldt.2
@@ -84,7 +84,7 @@ is set to indicate the error.
and
.Fn i386_set_ldt
will fail if:
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EINVAL
An inappropriate parameter was used for
.Fa start_sel
diff --git a/lib/libc/i386/sys/i386_vm86.2 b/lib/libc/i386/sys/i386_vm86.2
index ad3e218046b2..864ef3b64dc1 100644
--- a/lib/libc/i386/sys/i386_vm86.2
+++ b/lib/libc/i386/sys/i386_vm86.2
@@ -88,7 +88,7 @@ is set to indicate the error.
.Sh ERRORS
.Fn i386_vm86
will fail if:
-.Bl -tag -width [ENOMEM]
+.Bl -tag -width Er
.It Bq Er EINVAL
The kernel does not have vm86 support, or an invalid function was specified.
.It Bq Er ENOMEM
diff --git a/lib/libc/net/addr2ascii.3 b/lib/libc/net/addr2ascii.3
index e91b1d9b89d0..ced73497c4e8 100644
--- a/lib/libc/net/addr2ascii.3
+++ b/lib/libc/net/addr2ascii.3
@@ -162,7 +162,7 @@ functions, rather than the other way around.
When a failure is returned,
.Li errno
is set to one of the following values:
-.Bl -tag -width [EPROTONOSUPPORT]
+.Bl -tag -width Er
.It Bq Er ENAMETOOLONG
The
.Fn addr2ascii
diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3
index 2869221b3b25..57c589f97699 100644
--- a/lib/libc/stdio/fflush.3
+++ b/lib/libc/stdio/fflush.3
@@ -86,7 +86,7 @@ is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Bl -tag -width [EBADF]
+.Bl -tag -width Er
.It Bq Er EBADF
.Fa Stream
is not an open stream, or, in the case of
diff --git a/lib/libc/stdio/fgetln.3 b/lib/libc/stdio/fgetln.3
index a0c6c0323518..6cb42f1878f2 100644
--- a/lib/libc/stdio/fgetln.3
+++ b/lib/libc/stdio/fgetln.3
@@ -96,7 +96,7 @@ The text to which the returned pointer points may be modified,
provided that no changes are made beyond the returned size.
These changes are lost as soon as the pointer becomes invalid.
.Sh ERRORS
-.Bl -tag -width [EBADF]
+.Bl -tag -width Er
.It Bq Er EBADF
The argument
.Fa stream
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 76518b6f0b44..dda95dc96b95 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -109,7 +109,7 @@ and
.Xr ferror 3
to determine which occurred.
.Sh ERRORS
-.Bl -tag -width [EBADF]
+.Bl -tag -width Er
.It Bq Er EBADF
The given
.Fa stream
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index 9c10ed1880f2..e3484778fd4b 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -175,7 +175,7 @@ is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EINVAL
The
.Fa mode
diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3
index 63361106b8fb..34c4ad191ef2 100644
--- a/lib/libc/stdio/fputs.3
+++ b/lib/libc/stdio/fputs.3
@@ -81,7 +81,7 @@ returns a nonnegative integer on success and
.Dv EOF
on error.
.Sh ERRORS
-.Bl -tag -width [EBADF]
+.Bl -tag -width Er
.It Bq Er EBADF
The
.Fa stream
diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3
index 44c255a6de53..e2b432abca77 100644
--- a/lib/libc/stdio/fseek.3
+++ b/lib/libc/stdio/fseek.3
@@ -171,7 +171,7 @@ return the current offset.
Otherwise, \-1 is returned and the global variable errno is set to
indicate the error.
.Sh ERRORS
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EBADF
The
.Fa stream
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3
index ad1d9d76681f..b0355145a388 100644
--- a/lib/libc/stdio/funopen.3
+++ b/lib/libc/stdio/funopen.3
@@ -137,7 +137,7 @@ is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Bl -tag -width [EINVAL]
+.Bl -tag -width Er
.It Bq Er EINVAL
The
.Fn funopen
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index 03024c242869..badb8030a330 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -127,7 +127,7 @@ functions
may set
.Va errno
to one of the following values:
-.Bl -tag -width [ENOTDIR]
+.Bl -tag -width Er
.It Bq Er ENOTDIR
The pathname portion of the template is not an existing directory.
.El
diff --git a/lib/libc/stdlib/atexit.3 b/lib/libc/stdlib/atexit.3
index 6c490549765f..a9a0ab9dc2e0 100644
--- a/lib/libc/stdlib/atexit.3
+++ b/lib/libc/stdlib/atexit.3
@@ -65,7 +65,7 @@ and more are allowed as long as sufficient memory can be allocated.
.Sh RETURN VALUES
.Rv -std atexit
.Sh ERRORS
-.Bl -tag -width [ENOMEM]
+.Bl -tag -width Er
.It Bq Er ENOMEM
No memory was available to add the function to the list.
The existing list of functions is unmodified.
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index 752552d8f7b7..f6d1209c79e6 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -123,7 +123,7 @@ return zero if successful; otherwise the global variable
is set to indicate the error and a
\-1 is returned.
.Sh ERRORS
-.Bl -tag -width [ENOMEM]
+.Bl -tag -width Er
.It Bq Er ENOMEM
The function
.Fn setenv
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3
index f2df5b0cc212..c9a60192f0ec 100644
--- a/lib/libc/stdlib/strtod.3
+++ b/lib/libc/stdlib/strtod.3
@@ -99,7 +99,7 @@ returned and
is stored in
.Va errno .
.Sh ERRORS
-.Bl -tag -width [ERANGE]
+.Bl -tag -width Er
.It Bq Er ERANGE
Overflow or underflow occurred.
.Sh SEE ALSO
diff --git a/lib/libc/stdlib/strtol.3 b/lib/libc/stdlib/strtol.3
index 1825730dac2d..3107676b7cf9 100644
--- a/lib/libc/stdlib/strtol.3
+++ b/lib/libc/stdlib/strtol.3
@@ -151,7 +151,7 @@ In both cases,
is set to
.Er ERANGE .
.Sh ERRORS
-.Bl -tag -width [ERANGE]
+.Bl -tag -width Er
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El
diff --git a/lib/libc/stdlib/strtoul.3 b/lib/libc/stdlib/strtoul.3
index a1ffae97a06c..c22a5a6b3944 100644
--- a/lib/libc/stdlib/strtoul.3
+++ b/lib/libc/stdlib/strtoul.3
@@ -150,7 +150,7 @@ and sets the global variable
to
.Er ERANGE .
.Sh ERRORS
-.Bl -tag -width [ERANGE]
+.Bl -tag -width Er
.It Bq Er ERANGE
The given string was out of range; the value converted has been clamped.
.El
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index 9e932e81689d..d1e0a60ec2f4 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 9cb99f7d4fbc..2e10134d838b 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 c8dd4e1d22ab..b77fb02c46f2 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 2cdb45e4d253..11a144a339be 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 9ed120031637..e8421592e71f 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 373fa0f799d9..bb2ab8c8ef9b 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 bfec668ea540..5a7364309a8d 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 d7cdc8ae891d..6a0d50959214 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 62ce4286e6f6..ba948731dd1b 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 71a93f9b94d2..25e84c3979e2 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 e13c5e05cbec..95a5278a9e8e 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 206610885b9a..446fa6403e99 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 f421d1da085c..36dfe60251bf 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 758e97e65ef1..de7e3ca80466 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 36d559259303..9b36eb66bb58 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 d8346dcf1a9a..8ce5c71949d3 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 096a3bdcb7af..7e361349da1e 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 <sys/ktrace.h>
+.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 53cc8739fd5a..34c36dcaad80 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 168069315dfc..4ea40bdf1d4b 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 ab67c565f2e7..5ca26cbb135c 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 b45cb620e2c6..861480f0d15c 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 4ecf4eb87b0d..bf0e84d308bd 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 226416364406..5685646e67bd 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 ddf219f70091..17f4a9974a5c 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 2ddc2d53d8cc..e63f6cff9be9 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 55b884d73990..96c41c1258a2 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 a605850f4227..75de692e70e8 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 e7b2a27d243b..160686d4941b 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 29d4c4a10d7d..e504929fbb18 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 df1899145b0b..8a94b4d7805a 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 852d2977f07e..520b8139e172 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 d044e438b4bd..a8b94fbf2d51 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 ff76420b776d..7c64f870b6c2 100644
--- a/lib/libc/sys/sched_get_priority_max.2
+++ b/lib/libc/sys/sched_get_priority_max.2
@@ -93,7 +93,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 732cd953bc09..879a2505ba61 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 1ee37e089162..9610c01eb493 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 5adf7ad52516..4f3fc4e07f74 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 24526deb2efd..5b3875757688 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 1a4e56775917..9fcb1d1a2336 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 f592dc954a98..8ae21174ce7e 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 b7e933d1e573..e2309257dc0d 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 51db758bc62a..ce83401a1df6 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 f927034bac28..33830149bb30 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 55e24515e7ad..2948c50f45a8 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 0aeaf8e79f71..c5185fea7ea2 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 22075800da45..b6e5a65877bf 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 c56348cdc071..7b97170a68d0 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 b1cb56c9d733..ef3a858958da 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 f18d0c75df9d..82cd9810f8cd 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 4ab239d028bc..99e42619c65f 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 0f4779d0ca92..92e1849a2c22 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 010e4bb3bafe..b9a494e39882 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 3e664390dd18..9eb71e76410a 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 96054a6dbcba..15fe8444af6f 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