summaryrefslogtreecommitdiffstats
path: root/lib/libutil/realhostname_sa.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/realhostname_sa.3')
-rw-r--r--lib/libutil/realhostname_sa.38
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libutil/realhostname_sa.3 b/lib/libutil/realhostname_sa.3
index c1bc40a..7ccff3c 100644
--- a/lib/libutil/realhostname_sa.3
+++ b/lib/libutil/realhostname_sa.3
@@ -57,18 +57,14 @@
.Sh NAME
.Nm realhostname_sa
.Nd "convert an struct sockaddr to the real host name"
+.Sh LIBRARY
+.Lb libutil
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netinet/in.h>
.Fd #include <libutil.h>
.Ft int
.Fn realhostname_sa "char *host" "size_t hsize" "struct sockaddr *addr" "int addrlen"
-.Pp
-Link with
-.Va -lutil
-on the
-.Xr cc 1
-command line.
.Sh DESCRIPTION
The function
.Fn realhostname_sa
OpenPOWER on IntegriCloud