Merge "Document that our getnameinfo(3) prototype is unfixably wrong."
This commit is contained in:
commit
f74eb2609f
1 changed files with 5 additions and 4 deletions
|
@ -221,6 +221,7 @@ void herror(const char*);
|
||||||
const char* hstrerror(int);
|
const char* hstrerror(int);
|
||||||
|
|
||||||
int getaddrinfo(const char*, const char*, const struct addrinfo*, struct addrinfo**);
|
int getaddrinfo(const char*, const char*, const struct addrinfo*, struct addrinfo**);
|
||||||
|
/* POSIX getnameinfo uses socklen_t, not size_t, but LP64 sizeof(socklen_t) != sizeof(size_t). */
|
||||||
int getnameinfo(const struct sockaddr*, socklen_t, char*, size_t, char*, size_t, int);
|
int getnameinfo(const struct sockaddr*, socklen_t, char*, size_t, char*, size_t, int);
|
||||||
void freeaddrinfo(struct addrinfo*);
|
void freeaddrinfo(struct addrinfo*);
|
||||||
const char* gai_strerror(int);
|
const char* gai_strerror(int);
|
||||||
|
|
Loading…
Reference in a new issue