* Changed type of ai_addrlen in struct addrinfo
@ 2012-04-03 18:37 Jak
[not found] ` <4F7B4373.1060504-Cyn6bMzNSQ8@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jak @ 2012-04-03 18:37 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changed type of ai_addrlen in struct addrinfo
[not found] ` <4F7B4373.1060504-Cyn6bMzNSQ8@public.gmane.org>
@ 2012-04-14 21:43 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2012-04-14 21:43 UTC (permalink / raw)
To: Jak; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hi Kak,
On Wed, Apr 4, 2012 at 6:37 AM, Jak <jak-Cyn6bMzNSQ8@public.gmane.org> wrote:
> 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 for the report. Fixed for man-pages-3.39.
Cheers,
Michael
--
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-14 21:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 18:37 Changed type of ai_addrlen in struct addrinfo Jak
[not found] ` <4F7B4373.1060504-Cyn6bMzNSQ8@public.gmane.org>
2012-04-14 21:43 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.