aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/gethostname.3
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit2efeeba554cbd7bdee9cfe17641c8bd335c7972f (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/gen/gethostname.3
parent3ca4c01eea0e54f4f560aff65f774d6bd0b0b87c (diff)
mdoc(7) police: "The .Fa argument.".
Notes
Notes: svn path=/head/; revision=108087
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 c8cd1cbdf394..78223225746f 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.