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:

hsearch_r, hcreate_r, hdestroy_r - not supported; use hsearch, hcreate, and hdestroy (CrUn40)

UN Impacts

Problem description

The hsearch_r, hcreate_r, and hdestroy_r functions exist on Tru64 UNIX, but not on HP-UX.

The hsearch_r, hcreate_r, and hdestroy_r functions are reentrant versions of the hsearch, hcreate, and hdestroy functions. Threads can share hash tables by using the hsearch_r, hcreate_r, and hdestroy_r functions with a common hsearch_data value.

Identifiers

C/C++ Functionshcreate_r C/C++ Functionshdestroy_r C/C++ Functionshsearch_r  

See also

Solution description

To achieve similar results, use the hsearch, hcreate, and hdestroy functions.

The hsearch, hcreate, and hdestroy functions are thread_safe on HP-UX. The correct way for applications to share hash tables among threads is to use hsearch, hcreate, and hdestroy. Review your code and applicable manpages for more information on the hash table managing APIs.

See also


Problem summary

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