aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-03-15 08:35:53 +0000
committerBrian Somers <brian@FreeBSD.org>2001-03-15 08:35:53 +0000
commitad5a84f5ebad3da926fffefeb2ba99b58b80504f (patch)
tree1b99437a18417ba94c0c5665f8892ec9a49bd545 /lib/libc/gen
parent61a1695b805714cefaf9b8adce6690ec0bb6cadb (diff)
downloadsrc-ad5a84f5ebad3da926fffefeb2ba99b58b80504f.tar.gz
src-ad5a84f5ebad3da926fffefeb2ba99b58b80504f.zip
Mention that MAXHOSTNAMELEN includes space for the NUL.
Notes
Notes: svn path=/head/; revision=74289
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/gethostname.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index 8596a2d1c05c..ba0bbe3a1f21 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -93,6 +93,8 @@ Host names are limited to
(from
.Ao Pa sys/param.h Ac )
characters, currently 256.
+This includes the trailing
+.Dv NUL .
.Sh HISTORY
The
.Fn gethostname