summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:05:50 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:05:50 +0000
commit0a46552ab6ad5ad0dd8f93517be8d8dd71229b9f (patch)
tree346f6a55489b9fddf5892e203f1e58db85b390a2 /lib
parent0af7dd8231bef67e47c220a7bacf8f1eedabba47 (diff)
Use .Er macro when referring to errno error names.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/compat-43/sigpause.34
-rw-r--r--lib/libc/compat-43/sigvec.34
-rw-r--r--lib/libc/stdlib/strtod.36
-rw-r--r--lib/libc/sys/nfssvc.24
-rw-r--r--lib/libc/sys/sigaltstack.24
-rw-r--r--lib/libc/sys/sigsuspend.24
-rw-r--r--lib/libc/sys/socket.27
7 files changed, 16 insertions, 17 deletions
diff --git a/lib/libc/compat-43/sigpause.3 b/lib/libc/compat-43/sigpause.3
index 19c11851822..e3c5e2512cb 100644
--- a/lib/libc/compat-43/sigpause.3
+++ b/lib/libc/compat-43/sigpause.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigpause.3,v 1.8 1999/07/09 13:35:15 aaron Exp $
+.\" $OpenBSD: sigpause.3,v 1.9 2000/01/22 12:05:48 aaron Exp $
.\"
.Dd March 10, 1991
.Dt SIGPAUSE 3
@@ -58,7 +58,7 @@ signals are to be blocked.
always terminates by being interrupted, returning \-1 with
.Va errno
set to
-.Dv EINTR
+.Er EINTR
.Sh SEE ALSO
.Xr kill 2 ,
.Xr sigaction 2 ,
diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3
index 9e7f162e0b2..02d1ada17fb 100644
--- a/lib/libc/compat-43/sigvec.3
+++ b/lib/libc/compat-43/sigvec.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigvec.3,v 1.15 1999/09/23 04:11:59 alex Exp $
+.\" $OpenBSD: sigvec.3,v 1.16 2000/01/22 12:05:48 aaron Exp $
.\"
.Dd April 29, 1991
.Dt SIGVEC 3
@@ -178,7 +178,7 @@ the call may be restarted,
the call may return with a data transfer shorter than requested,
or the call may forced to terminate
with the error
-.Dv EINTR .
+.Er EINTR .
Interrupting of pending calls is requested
by setting the
.Dv SV_INTERRUPT
diff --git a/lib/libc/stdlib/strtod.3 b/lib/libc/stdlib/strtod.3
index 6bba73e89a6..ef618039107 100644
--- a/lib/libc/stdlib/strtod.3
+++ b/lib/libc/stdlib/strtod.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strtod.3,v 1.4 1999/06/29 18:36:23 aaron Exp $
+.\" $OpenBSD: strtod.3,v 1.5 2000/01/22 12:05:49 aaron Exp $
.\"
.Dd June 29, 1991
.Dt STRTOD 3
@@ -87,12 +87,12 @@ is stored in the location referenced by
If the correct value would cause overflow, plus or minus
.Dv HUGE_VAL
is returned (according to the sign of the value), and
-.Dv ERANGE
+.Er ERANGE
is stored in
.Va errno .
If the correct value would cause underflow, zero is
returned and
-.Dv ERANGE
+.Er ERANGE
is stored in
.Va errno .
.Sh ERRORS
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2
index a0e36cf2d14..9354634bfc7 100644
--- a/lib/libc/sys/nfssvc.2
+++ b/lib/libc/sys/nfssvc.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nfssvc.2,v 1.10 2000/01/22 12:00:43 aaron Exp $
+.\" $OpenBSD: nfssvc.2,v 1.11 2000/01/22 12:05:49 aaron Exp $
.\" $NetBSD: nfssvc.2,v 1.6 1995/02/27 12:35:08 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -250,7 +250,7 @@ system call is designed specifically for the
support daemons and as such is specific to their requirements.
It should really return values to indicate the need for authentication
support, since
-.Dv ENEEDAUTH
+.Er ENEEDAUTH
is not really an error.
Several fields of the argument structures are assumed to be valid and
sometimes to be unchanged from a previous call, such that
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2
index 2fe6c3bd5ae..a9166ce16b8 100644
--- a/lib/libc/sys/sigaltstack.2
+++ b/lib/libc/sys/sigaltstack.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaltstack.2,v 1.9 1999/06/29 14:10:21 aaron Exp $
+.\" $OpenBSD: sigaltstack.2,v 1.10 2000/01/22 12:05:49 aaron Exp $
.\" $NetBSD: sigaltstack.2,v 1.3 1995/02/27 10:41:52 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1992, 1993
@@ -87,7 +87,7 @@ Trying to disable an active stack will cause
to return \-1 with
.Va errno
set to
-.Dv EINVAL .
+.Er EINVAL .
A disabled stack will cause all signals to be
taken on the regular user stack.
If the stack is later re-enabled then all signals that were specified
diff --git a/lib/libc/sys/sigsuspend.2 b/lib/libc/sys/sigsuspend.2
index a901f63d26c..69b131564a3 100644
--- a/lib/libc/sys/sigsuspend.2
+++ b/lib/libc/sys/sigsuspend.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigsuspend.2,v 1.5 1999/06/29 14:10:23 aaron Exp $
+.\" $OpenBSD: sigsuspend.2,v 1.6 2000/01/22 12:05:49 aaron Exp $
.\" $NetBSD: sigsuspend.2,v 1.4 1995/02/27 12:37:46 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -70,7 +70,7 @@ function
always terminates by being interrupted, returning \-1 with
.Va errno
set to
-.Dv EINTR .
+.Er EINTR .
.Sh SEE ALSO
.Xr sigaction 2 ,
.Xr sigprocmask 2 ,
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2
index 32f230f4a86..850ac578ba6 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: socket.2,v 1.12 2000/01/13 06:23:59 fgsch Exp $
+.\" $OpenBSD: socket.2,v 1.13 2000/01/22 12:05:49 aaron Exp $
.\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -156,9 +156,8 @@ within a reasonable length of time, then
the connection is considered broken and calls
will indicate an error with
\-1 returns and with
-.Dv ETIMEDOUT
-as the specific code
-in the global variable
+.Er ETIMEDOUT
+as the specific code in the global variable
.Va errno .
The protocols optionally keep sockets
.Dq warm