summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/gethostname.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit51fe7c1a888747c57136cc34ec54a93a0487b745 (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/gen/gethostname.3
parent3424a53ebeadf7ab320c37cf93702953cee94efe (diff)
downloadFreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.zip
FreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.tar.gz
mdoc(7) police: "The .Fa argument.".
Diffstat (limited to 'lib/libc/gen/gethostname.3')
-rw-r--r--lib/libc/gen/gethostname.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index c8cd1cb..7822322 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -54,8 +54,9 @@ function
returns the standard host name for the current processor, as
previously set by
.Fn sethostname .
-The parameter
+The
.Fa namelen
+argument
specifies the size of the
.Fa name
array. The returned name is null-terminated unless insufficient
@@ -80,7 +81,7 @@ The
.Fa name
or
.Fa namelen
-parameter gave an
+argument gave an
invalid address.
.It Bq Er EPERM
The caller tried to set the hostname and was not the super-user.
OpenPOWER on IntegriCloud