getaddrinfo.3: Correct type of ai_addrlen field

Reported-by: Jak <jak@gmx.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-15 09:36:13 +12:00
parent 528db0236c
commit a05228ea3a
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
.\" FIXME . glibc's 2.9 NEWS file documents DCCP and UDP-lite support
.\" and is SCTP support now also there?
.\"
.TH GETADDRINFO 3 2010-09-27 "GNU" "Linux Programmer's Manual"
.TH GETADDRINFO 3 2012-04-14 "GNU" "Linux Programmer's Manual"
.SH NAME
getaddrinfo, freeaddrinfo, gai_strerror \- network address and
service translation
@ -109,7 +109,7 @@ struct addrinfo {
int ai_family;
int ai_socktype;
int ai_protocol;
size_t ai_addrlen;
socklen_t ai_addrlen;
struct sockaddr *ai_addr;
char *ai_canonname;
struct addrinfo *ai_next;