summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getpeername.2
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:00:44 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-01-22 12:00:44 +0000
commit0af7dd8231bef67e47c220a7bacf8f1eedabba47 (patch)
treeebee5d9abfa6081337b2c756b2b394aea04b85ae /lib/libc/sys/getpeername.2
parent987ea750df0c9c8c98007c079bbbb7a7092e3989 (diff)
Use .Va macro when referring to the global variable errno.
Diffstat (limited to 'lib/libc/sys/getpeername.2')
-rw-r--r--lib/libc/sys/getpeername.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2
index 1ce4b1c0d7d..fb321ca80e6 100644
--- a/lib/libc/sys/getpeername.2
+++ b/lib/libc/sys/getpeername.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpeername.2,v 1.12 1999/07/21 07:18:26 kjell Exp $
+.\" $OpenBSD: getpeername.2,v 1.13 2000/01/22 12:00:42 aaron Exp $
.\" $NetBSD: getpeername.2,v 1.6 1995/10/12 15:40:56 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -97,9 +97,13 @@ If the call succeeds, a 0 is returned and
.Fa namelen
is set to the actual size of the socket address returned in
.Fa name .
-Otherwise, errno is set and a value of \-1 is returned.
+Otherwise,
+.Va errno
+is set and a value of \-1 is returned.
.Sh ERRORS
-On failure, errno is set to one of the following:
+On failure,
+.Va errno
+is set to one of the following:
.Bl -tag -width Er
.It Bq Er EBADF
The argument