summaryrefslogtreecommitdiffstats
path: root/lib/libutil/trimdomain.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/trimdomain.3')
-rw-r--r--lib/libutil/trimdomain.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libutil/trimdomain.3 b/lib/libutil/trimdomain.3
index 2b6dd75..66b8369 100644
--- a/lib/libutil/trimdomain.3
+++ b/lib/libutil/trimdomain.3
@@ -50,8 +50,9 @@ name is determined by calling
and removing everything up to the first period. The name is determined
the first time this function is called and is cached for future use.
.Pp
+The
.Fn trimdomain
-will only trim the domain name if the passed
+function will only trim the domain name if the passed
.Ar fullname
ends with the current domain name and if the length of the resulting host
name does not exceed
@@ -75,7 +76,8 @@ numbers to the end of the base host name and resulting in
.Ar host : nn Op . Ar nn .
.Sm on
.Sh RETURN VALUES
+The
.Fn trimdomain
-does not return a value.
+function does not return a value.
.Sh SEE ALSO
.Xr gethostname 3
OpenPOWER on IntegriCloud