]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
gai_strerror() - Update string error messages according to RFC 3493.
authorpfg <pfg@FreeBSD.org>
Sun, 23 Dec 2018 18:15:48 +0000 (18:15 +0000)
committerpfg <pfg@FreeBSD.org>
Sun, 23 Dec 2018 18:15:48 +0000 (18:15 +0000)
commit2c75604e5507b609d05403b97c343e35ecc5db63
tree7030e983c71768bc4796e6afd6aca8005403518c
parent87c4934fb5afa07314eadfd52cacd723ce6b53c4
gai_strerror() - Update string error messages according to RFC 3493.

Error messages in gai_strerror(3) vary largely among OSs.

For new software we largely replaced the obsoleted EAI_NONAME and
with EAI_NODATA but we never updated the corresponding message to better
match the intended use. We also have references to ai_flags and ai_family
which are not very descriptive for non-developer end users.

Bring new new error messages based on informational RFC 3493, which has
obsoleted RFC 2553, and make them consistent among the header adn
manpage.

MFC after: 1 month
Differentical Revision: D18630
include/netdb.h
lib/libc/net/gai_strerror.3
lib/libc/net/gai_strerror.c