summaryrefslogtreecommitdiff
path: root/lib/libc/gen/gethostname.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-29 22:38:38 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-29 22:38:38 +0000
commit433594a7d76d560485c3bdb52ab87c64b008e168 (patch)
tree5345f18b21ad05187d084366eb8668da984821da /lib/libc/gen/gethostname.3
parente995764d51674c3bfd0717fdfbf24af85952e88e (diff)
repairs; go back over some old files, because we should properly distinguish
between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when referring to an ASCII NUL
Diffstat (limited to 'lib/libc/gen/gethostname.3')
-rw-r--r--lib/libc/gen/gethostname.35
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index 60856b6b86e..445cb9500b8 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gethostname.3,v 1.11 1999/05/29 19:11:11 aaron Exp $
+.\" $OpenBSD: gethostname.3,v 1.12 1999/05/29 22:38:34 aaron Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -55,8 +55,7 @@ The parameter
specifies the size of the
.Fa name
array. If insufficient space is provided, the returned name is truncated.
-The returned name is always
-.Dv NULL Ns -terminated.
+The returned name is always NUL-terminated.
.Pp
.Fn sethostname
sets the name of the host machine to be