HPlogo HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004 > Chapter 8 Reading Error Messages

Header Files

» 

Technical documentation

Complete book in PDF

 » Table of Contents

#include <netdb.h>

Syntax

char *gai_strerror(int ecode);

Parameters

ecode: One of the EAI_xxx values defined in RFC 25333, “Basic Socket Extensions for IPv6”. The return value points to a string describing the error. If ecode is not one of the EAI_xxx values, the function returns a pointer to a string indicating an unknown error.

© 2004 Hewlett-Packard Development Company, L.P.