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
» 

DSPP Home

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

critical impact:

getrpcbyname, getrpcbynumber, getrpcent, endrpcent, setrpcent - different header file location (CrCh204)

NW Impacts

Problem description

The netdb.h header file required by the getrpcbyname, getrpcbynumber, getrpcent, endrpcent, and setrpcent routines is the same on Tru64 UNIX and HP-UX, but is found in different locations.

On Tru64 UNIX, applications that use these APIs include the following line:

#include <rpc/netdb.h>

Identifiers

C/C++ Functionsendrpcent C/C++ Functionsgetrpcbynumber C/C++ Functionssetrpcent
C/C++ Functionsgetrpcbyname C/C++ Functionsgetrpcent  

See also

Solution description

Modify code to include header file from correct location.

Review the applicable manpages and code. Change #include <rpc/netdb.h> to #include <netdb.h> for appropriate use of these routines.

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.