summaryrefslogtreecommitdiff
path: root/lib/libc/gen/ttyname.3
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-02-25 03:12:45 +0000
commit8e555d953d4a7e8702ccb2d29b39ad91d179ce95 (patch)
tree6c0a9ec621640942bf2aabca87382a65abb1cd77 /lib/libc/gen/ttyname.3
parent8dcf2d1387109e43cabbf8b12a6bf3dd3ed2613d (diff)
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
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 96b0ae10db6..ff459273c22 100644
--- a/lib/libc/gen/ttyname.3
+++ b/lib/libc/gen/ttyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ttyname.3,v 1.14 2003/06/02 20:18:35 millert Exp $
+.\" $OpenBSD: ttyname.3,v 1.15 2005/02/25 03:12:43 cloder Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -78,7 +78,7 @@ functions get the related device name of a file descriptor for which
is true.
The
.Fn ttyname_r
-function stores the null-terminated
+function stores the NUL-terminated
pathname of the terminal associated with
the file descriptor
.Fa fd
@@ -101,7 +101,7 @@ The
.Fn ttyname
and
.Fn ttyname_r
-functions return the null-terminated name if the device is found and
+functions return the NUL-terminated name if the device is found and
.Fn isatty
is true; otherwise
a null pointer is returned and