From 75fe269373cbe333f7f2fa7ae116ea0245888d01 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 28 Apr 2025 08:44:08 +0000 Subject: Latest batch of fixes Signed-off-by: Laurent Bercot --- doc/getaddrinfo.html | 2 +- doc/libs6dns/s6dns-resolve.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/getaddrinfo.html b/doc/getaddrinfo.html index a6ea981..97b7482 100644 --- a/doc/getaddrinfo.html +++ b/doc/getaddrinfo.html @@ -21,7 +21,7 @@

The standard C library provides an API to perform name resolution: -getaddrinfo(), +getaddrinfo(), formerly gethostbyname(). However, for DNS resolution as well as implementation in the libc, this interface is very impractical, to the point of being unusable. Here are a few reasons why. diff --git a/doc/libs6dns/s6dns-resolve.html b/doc/libs6dns/s6dns-resolve.html index 8dc6bef..55f961c 100644 --- a/doc/libs6dns/s6dns-resolve.html +++ b/doc/libs6dns/s6dns-resolve.html @@ -92,7 +92,7 @@ The other prototypes can be found in the s6-dns/s6dns-resolve.h file.

Some errno codes reported by these functions do not have exactly the system meaning given by -strerror(). +strerror(). To get a user-friendly error message, use s6dns_constants_error_str(errno) instead. The s6dns_constants_error_str function is declared in the s6dns-constants.h header. -- cgit v1.3.1