summaryrefslogtreecommitdiff
path: root/lib/libc/gen/ttyname.3
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/gen/ttyname.3
parent987ea750df0c9c8c98007c079bbbb7a7092e3989 (diff)
Use .Va macro when referring to the global variable errno.
Diffstat (limited to 'lib/libc/gen/ttyname.3')
-rw-r--r--lib/libc/gen/ttyname.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/ttyname.3 b/lib/libc/gen/ttyname.3
index fc9d5f9bc48..664662519ce 100644
--- a/lib/libc/gen/ttyname.3
+++ b/lib/libc/gen/ttyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ttyname.3,v 1.9 1999/07/09 13:35:19 aaron Exp $
+.\" $OpenBSD: ttyname.3,v 1.10 2000/01/22 12:00:42 aaron Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -112,7 +112,7 @@ name if the device is found and
.Fn isatty
is true; otherwise
a null pointer is returned and
-.Dv errno
+.Va errno
is set to indicate the error.
.Pp
The
@@ -120,7 +120,7 @@ The
function returns 1 if
.Fa fd
is associated with a terminal device; otherwise it returns 0 and
-.Dv errno
+.Va errno
is set to indicate the error.
.Pp
The