gai_strerror - address and name information error description
#include <netdb.h>
char *gai_strerror(int ecode);
Functiongai_strerror() returns a text string describing an error that is listed inAddress Information Structure .When argument ecode is one of the values listed in
Address Information Structure , the function return value points to a string describing the error. If the argument is not one of those values, the function returns a pointer to a string whose contents indicate an unknown error.
getaddrinfo() ,<netdb.h> .
First released in Issue 5.2.
Contents | Next section | Index |