summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getdomainname.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getdomainname.3')
-rw-r--r--lib/libc/gen/getdomainname.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3
index 7fd3d48..6e0ed6b 100644
--- a/lib/libc/gen/getdomainname.3
+++ b/lib/libc/gen/getdomainname.3
@@ -54,8 +54,9 @@ function
returns the standard domain name for the current processor, as
previously set by
.Fn setdomainname .
-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