Query: gai_strerror
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
gai_strerror(3) Library Functions Manual gai_strerror(3)NAMEgai_strerror - Prints an error message string based on a return code from the getaddrinfo and getnameinfo routineLIBRARYStandard C Library (libc.so, libc.a)SYNOPSIS#include <netdb.h> char *gai_strerror( int ecode);PARAMETERSSpecifies an error code returned from either getaddrinfo().DESCRIPTIONThe gai_strerror() routine returns a pointer to a string that describes the error based on an EAI_xxx value returned by the getaddrinfo routine.RETURN VALUESUpon successful completion, the gai_strerror() routine returns a pointer to a string describing the error. If the ecode parameter is not a valid EAI_xxx value, the routine returns a pointer to a string that indicates an unknown error.RELATED INFORMATIONFunctions: getaddrinfo(3). delim off gai_strerror(3)