* Constify return type of gai_strerror() as per bwg2001-009
authorSascha Wildner <swildner@dragonflybsd.org>
Sat, 4 Oct 2008 22:09:17 +0000 (22:09 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sat, 4 Oct 2008 22:09:17 +0000 (22:09 +0000)
commit3876068d806e26b7246510ae872151cf7683bb20
treea2b280678dbb472f388b776639c8912171fd8d39
parent7e0d629cc6758419ff02992a47c62a639c71c56b
* Constify return type of gai_strerror() as per bwg2001-009
  (see http://www.opengroup.org/platform/resolutions/bwg2001-many.html).

* Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
  too short. This conforms to RFC 3493, POSIX and XPG6.

* Add a gai_strerror(3) manual page.

Taken-from: FreeBSD
include/netdb.h
lib/libc/net/Makefile.inc
lib/libc/net/gai_strerror.3 [new file with mode: 0644]
lib/libc/net/getaddrinfo.c
lib/libc/net/getnameinfo.c