-
-
-/* Returns a malloc'd string containing the canonical hostname associated with
- HOST, or NULL if a canonical name cannot be determined. On NULL return, if
- CHERROR is not NULL, *CHERROR will be set to an error code as returned by
- getaddrinfo(). Error codes from CHERROR may be converted to a string
- suitable for error messages by ch_strerror_r() or gai_strerror().
+/* Return a malloc'd string containing the canonical hostname associated with
+ HOST, or NULL if a canonical name cannot be determined. On NULL return,
+ if CHERROR is not NULL, set *CHERROR to an error code as returned by
+ getaddrinfo(). Use ch_strerror_r() or gai_strerror() to convert a *CHERROR
+ value to a string suitable for error messages.