summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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
OpenPOWER on IntegriCloud