gai_strerror(3) osf1 man page | unix.com

Man Page: gai_strerror

Operating Environment: osf1

Section: 3

gai_strerror(3) 					     Library Functions Manual						   gai_strerror(3)

NAME
gai_strerror - Prints an error message string based on a return code from the getaddrinfo and getnameinfo routine
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <netdb.h> char *gai_strerror( int ecode);
PARAMETERS
Specifies an error code returned from either getaddrinfo().
DESCRIPTION
The 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 VALUES
Upon 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 INFORMATION
Functions: getaddrinfo(3). delim off gai_strerror(3)
Related Man Pages
lwres_gai_strerror(3) - debian
lwres_gai_strerror(3) - centos
gai_strerror(3) - netbsd
getaddrinfo(3) - osf1
gai_strerror(3) - freebsd
Similar Topics in the Unix Linux Community
compiling php5 on solaris 9. please help.
Socket Programming - Port Scanner. I Get Connection Timed Out, Why?
Reported Post by Corona688
Infraction for vigneshinbox: Double Posting
Problem with socket connection