*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> gai_strerror (3)              
Title
Content
Arch
Section
 

gai_strerror(3)

Contents


NAME    [Toc]    [Back]

       gai_strerror  -  Print  an error message string based on a
       return code from the getaddrinfo or getnameinfo routine

SYNOPSIS    [Toc]    [Back]

       #include <netdb.h>

       char *gai_strerror(
               int ecode );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Specifies an error code returned from either getaddrinfo()
       or getnameinfo().

DESCRIPTION    [Toc]    [Back]

       The  gai_strerror()  routine returns a pointer to a string
       that  describes  the  error  based  on  an  EAI_xxx  value
       returned by the getaddrinfo() or getnameinfo() routine.

RETURN VALUES    [Toc]    [Back]

       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.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: getaddrinfo(3), getnameinfo(3).

       Network Programmer's Guide



                                                  gai_strerror(3)
[ Back ]
 Similar pages
Name OS Title
st_strerror Tru64 translate a libst return code to a printable error message
strerror Linux return string describing error code
gss_get_mic HP-UX calculate a cryptographic message integrity code (MIC) for a message and return in a token
gluErrorString Tru64 produce an error string from a GL or GLU error code
gluerrorstring IRIX produce an error string from a GL or GLU error code
tt_error_int HP-UX return an integer error object that encodes the code
tt_error_pointer HP-UX return a pointer to an error object that encodes the code
perror Linux print a system error message
cr_perror HP-UX print a libcrash error or warning message
alGetErrorString IRIX get a string corresponding to an Audio Library error code
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service