summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/getipnodebyname.32
-rw-r--r--lib/libc/net/inet.36
-rw-r--r--lib/libc/net/resolver.32
3 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3
index 1ade42d..c5e65a3 100644
--- a/lib/libc/net/getipnodebyname.3
+++ b/lib/libc/net/getipnodebyname.3
@@ -458,7 +458,7 @@ are documented in
Although the current implementation is otherwise thread-safe, using
it in conjunction with
.Fn gethostby*
-(see
+(see
.Xr gethostbyname 3 )
or
.Xr yp 8
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index 2c27bde..39b60be 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -243,7 +243,11 @@ call fails if:
was not large enough to store the presentation form of the address.
.It Bq Er EAFNOSUPPORT
.Fa *src
-was not an AF_INET or AF_INET6 family address.
+was not an
+.Dv AF_INET
+or
+.Dv AF_INET6
+family address.
.El
.Sh SEE ALSO
.Xr addr2ascii 3 ,
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 68d80d8..235898c 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -399,7 +399,7 @@ to a buffer pointed to by
.Sh RETURN VALUES
The
.Fn res_init
-function will return 0 on success, or -1 in a threaded program if
+function will return 0 on success, or \-1 in a threaded program if
per-thread storage could not be allocated.
.Sh IMPLEMENTATION NOTES
This implementation of the resolver is thread-safe, but it will not
OpenPOWER on IntegriCloud