Merge "Document that our getnameinfo(3) prototype is unfixably wrong."

This commit is contained in:
Treehugger Robot 2016-08-17 00:17:24 +00:00 committed by Gerrit Code Review
commit f74eb2609f

View file

@ -220,10 +220,11 @@ struct servent* getservent(void);
void herror(const char*); 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**);
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int); /* POSIX getnameinfo uses socklen_t, not size_t, but LP64 sizeof(socklen_t) != sizeof(size_t). */
void freeaddrinfo(struct addrinfo *); int getnameinfo(const struct sockaddr*, socklen_t, char*, size_t, char*, size_t, int);
const char *gai_strerror(int); void freeaddrinfo(struct addrinfo*);
const char* gai_strerror(int);
void setservent(int); void setservent(int);
__END_DECLS __END_DECLS