diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/getaddrinfo.html | 2 | ||||
| -rw-r--r-- | doc/libs6dns/s6dns-resolve.html | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ <p> The standard C library provides an API to perform name resolution: -<a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/getaddrinfo.html">getaddrinfo()</a>, +<a href="https://pubs.opengroup.org/onlinepubs/9799919799/functions/getaddrinfo.html">getaddrinfo()</a>, formerly <tt>gethostbyname()</tt>. 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 <tt>s6-dns/s6dns-resolve.h</tt> file. <p> Some <tt>errno</tt> codes reported by these functions do not have exactly the system meaning given by -<a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/strerror.html">strerror()</a>. +<a href="https://pubs.opengroup.org/onlinepubs/9799919799/functions/strerror.html">strerror()</a>. To get a user-friendly error message, use <tt>s6dns_constants_error_str(errno)</tt> instead. The <tt>s6dns_constants_error_str</tt> function is declared in the <tt>s6dns-constants.h</tt> header. |
