Changed type of ai_addrlen in struct addrinfo
Hi,
<http://man7.org/linux/man-pages/man3/getaddrinfo.3.html> says that struct addrinfo contains:
size_t ai_addrlen;
However, in the GNU C Library, the type was changed on 2000-04-01 from size_t to socklen_t, as ChangeLog.11 in the glibc source shows:
* resolv/netdb.h
[...]
(struct addrinfo): Use socklen_t for ai_addrlen element.
Please could the manpage be updated?
Thanks,
Jak.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Kak,
Quoted 7 lines · Jak
Hi,
<http://man7.org/linux/man-pages/man3/getaddrinfo.3.html> says that struct addrinfo contains:
size_t ai_addrlen;
Quoted 8 lines
However, in the GNU C Library, the type was changed on 2000-04-01 from
size_ttosocklen_t, as ChangeLog.11 in the glibc source shows:*
resolv/netdb.h
[...]
(struct addrinfo): Usesocklen_tforai_addrlenelement.Please could the manpage be updated?
Thanks for the report. Fixed for man-pages-3.39.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html