summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getdomainname.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 10:13:54 +0000
committerru <ru@FreeBSD.org>2002-12-18 10:13:54 +0000
commitd0db69d964a72128c1dcb81af009e3bd728c7876 (patch)
treed7fc87dbba410fea9fb526ffb94f2409d3c5f8cc /lib/libc/gen/getdomainname.3
parentaf6f15fd347359b35b89710f15c02dffacf8d980 (diff)
downloadFreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.zip
FreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.tar.gz
mdoc(7) police: "The .Fn function".
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