Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

getnameinfo, getaddrinfo, freeaddrinfo, gai_strerror - additional header file needed (CrCh22)

NW Impacts

Problem description

An additional header file is required for getnameinfo, getaddrinfo, freeaddrinfo, gai_strerror routines on HP-UX.

The additional header file is:

 #include <sys/socket.h>


C/C++ Functionsfreeaddrinfo C/C++ Functionsgai_strerror C/C++ Functionsgetaddrinfo C/C++ Functionsgetnameinfo

See also

Solution description

Modify your source code to include the additional header file.

For appropriate use of getnameinfo, getaddrinfo, freeaddrinfo, gai_strerror routines you must include the following header file:

 #include <sys/socket.h>

Review applicable manpages and code for more detail.

See also

Problem summary

classifications source types OS release severity type
NW C, C++ any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.