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.310
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3
index 0c3bee4..7fd3d48 100644
--- a/lib/libc/gen/getdomainname.3
+++ b/lib/libc/gen/getdomainname.3
@@ -48,7 +48,9 @@
.Ft int
.Fn setdomainname "const char *name" "int namelen"
.Sh DESCRIPTION
-.Fn Getdomainname
+The
+.Fn getdomainname
+function
returns the standard domain name for the current processor, as
previously set by
.Fn setdomainname .
@@ -59,7 +61,9 @@ specifies the size of the
array. The returned name is null-terminated unless insufficient
space is provided.
.Pp
-.Fn Setdomainname
+The
+.Fn setdomainname
+function
sets the domain name of the host machine to be
.Fa name ,
which has length
@@ -94,5 +98,5 @@ characters, currently 256.
.Sh HISTORY
The
.Fn getdomainname
-function call appeared in
+function appeared in
.Bx 4.2 .
OpenPOWER on IntegriCloud