Re: Changed type of ai_addrlen in struct addrinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kak,

On Wed, Apr 4, 2012 at 6:37 AM, Jak <jak@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux