From ad5a84f5ebad3da926fffefeb2ba99b58b80504f Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Thu, 15 Mar 2001 08:35:53 +0000 Subject: Mention that MAXHOSTNAMELEN includes space for the NUL. --- lib/libc/gen/gethostname.3 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libc/gen') 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 -- cgit v1.2.3