summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-12-16 18:12:43 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-12-16 18:12:43 +0000
commitfe2e0d15cdd9913ad6d6af10c26e15fb195c3b63 (patch)
tree6fbaaf949a35bb77e855709d354439e4ae5d441d /lib/libc
parentabbd932a67bb4ab7d4cc69929e8c4072ac15e81e (diff)
tweak previous;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/gethostbyname.33
-rw-r--r--lib/libc/net/resolver.36
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3
index f8c4891c686..482e3b4a9ca 100644
--- a/lib/libc/net/gethostbyname.3
+++ b/lib/libc/net/gethostbyname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gethostbyname.3,v 1.28 2015/12/16 16:32:30 deraadt Exp $
+.\" $OpenBSD: gethostbyname.3,v 1.29 2015/12/16 18:12:42 jmc Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -171,6 +171,7 @@ The contents of the error message is the same as that returned by
with argument
.Fa h_errno .
.Sh ENVIRONMENT
+.Bl -tag -width RES_OPTIONS
.It RES_OPTIONS
A list of options to override the resolver's internal defaults.
See
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index db7400df9b9..74be2551891 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: resolver.3,v 1.32 2015/12/16 16:32:30 deraadt Exp $
+.\" $OpenBSD: resolver.3,v 1.33 2015/12/16 18:12:42 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -171,9 +171,9 @@ to be equal to the server's address.
Do not check if the query section of the reply packet
is equal to that of the query packet.
.It Dv RES_NOALIASES
-(In the past, this turned off the legacy
+In the past, this turned off the legacy
.Ev HOSTALIASES
-feature).
+feature.
.It Dv RES_USE_INET6
Enables support for IPv6-only applications.
This causes IPv4 addresses to be returned as an IPv4 mapped address.