summaryrefslogtreecommitdiff
path: root/doc/libs6dns/index.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-18 23:09:46 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-18 23:09:46 +0000
commit20d8277451d8fd7cbce316b80a0018bc2639335d (patch)
tree925753f6acdf8afc7e9877db2e9d2d88f1c0f47c /doc/libs6dns/index.html
parentd06529686f89074fd4fa574ac6012f8a873e7857 (diff)
downloads6-dns-20d8277451d8fd7cbce316b80a0018bc2639335d.tar.xz
Fix old _BSD_SOURCE definitions
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/libs6dns/index.html')
-rw-r--r--doc/libs6dns/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/libs6dns/index.html b/doc/libs6dns/index.html
index 6320376..6dcb408 100644
--- a/doc/libs6dns/index.html
+++ b/doc/libs6dns/index.html
@@ -98,8 +98,9 @@ header:
s6dns_init() calls <a href="s6dns-rci.html">s6dns_rci_init()</a>,
extracting <tt>resolv.conf</tt> information to an internal global
variable. The function returns 1 on success, and 0 (and sets errno)
-on failure. </li>
- <li> Call <tt>s6dns_finish()</tt> when you're done with the libs6dns.
+on failure. To also use the hosts database, you can call
+<tt>s6dns_init_options(1)</tt> instead. </li>
+ <li> Call <tt>s6dns_finish()</tt> when you're done with libs6dns.
It frees the resources used. </li>
</ul>