getnameinfo.3: Fix prototype

The hostlen and servlen parameters to have type socklet_t.
mtk: The types changed in glibc 2.2, with commit
e10b8512ce40cfb9f706e40edc7ed0ebdd151471

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Rasmus Villemoes 2014-05-20 01:02:22 +02:00 committed by Michael Kerrisk
parent 8c5ffcfa85
commit 7c1e49d254
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ getnameinfo \- address-to-name translation in protocol-independent manner
.B #include <netdb.h>
.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