diff options
author | brian <brian@FreeBSD.org> | 2001-03-15 08:35:53 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-03-15 08:35:53 +0000 |
commit | 4205100dc17cb747ce133320e400894b490e6b06 (patch) | |
tree | 7315abaac90976999427054c66bc842d393a5db9 /lib | |
parent | bb83c51dcc32da47dbcba45696b6d3593bafb816 (diff) | |
download | FreeBSD-src-4205100dc17cb747ce133320e400894b490e6b06.zip FreeBSD-src-4205100dc17cb747ce133320e400894b490e6b06.tar.gz |
Mention that MAXHOSTNAMELEN includes space for the NUL.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/gethostname.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index 8596a2d..ba0bbe3 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 |