11.7 gai_strerror
Function
The nonzero error return values from
getaddrinfo have the names and meanings shown in Figure 11.7. The function
gai_strerror takes one of these values as an argument and
returns a pointer to the corresponding error string.
#include <netdb.h>
|
const char *gai_strerror (int
error);
|
Returns: pointer to string describing error
message
|
|