summaryrefslogtreecommitdiff
path: root/doc/libs6dns/hosts.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/hosts.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/hosts.html')
-rw-r--r--doc/libs6dns/hosts.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/libs6dns/hosts.html b/doc/libs6dns/hosts.html
index b9a03bf..00da38f 100644
--- a/doc/libs6dns/hosts.html
+++ b/doc/libs6dns/hosts.html
@@ -80,7 +80,8 @@ which should be in <tt>/etc/hosts</tt> format, into a cdb file
written to file descriptor <tt>fdw</tt>. <tt>fdr</tt> must be
open for reading, and <tt>fdw</tt> must be open for writing and
seekable. The function returns 1 on success and 0 (and sets errno)
-on failure.
+on failure. A syntax error in the text file results in failure,
+but link-local addresses are silently ignored.
</p>
<p>