From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH 16/20] getnameinfo.3: fix prototype Date: Tue, 20 May 2014 09:02:46 +0200 Message-ID: <537AFE16.7020702@gmail.com> References: <1400540546-25578-1-git-send-email-rv@rasmusvillemoes.dk> <1400540546-25578-17-git-send-email-rv@rasmusvillemoes.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1400540546-25578-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rasmus Villemoes Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org Thanks, Rasmus. It looks like this changed in glibc 2.2, with commit e10b8512ce40cfb9f706e40edc7ed0ebdd151471. Patch applied. Cheers, Michael On 05/20/2014 01:02 AM, Rasmus Villemoes wrote: > The hostlen and servlen parameters to getnameinfo() have type > socklet_t. > --- > man3/getnameinfo.3 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 > index db72bd7..16c8d4f 100644 > --- a/man3/getnameinfo.3 > +++ b/man3/getnameinfo.3 > @@ -16,8 +16,8 @@ getnameinfo \- address-to-name translation in protocol-independent manner > .B #include > .sp > .BI "int getnameinfo(const struct sockaddr *" "sa" ", socklen_t " "salen" , > -.BI " char *" "host" ", size_t " "hostlen" , > -.BI " char *" "serv" ", size_t " "servlen" ", int " "flags" ); > +.BI " char *" "host" ", socklen_t " "hostlen" , > +.BI " char *" "serv" ", socklen_t " "servlen" ", int " "flags" ); > .fi > .sp > .in -4n > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- 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