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
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue