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:

openlog - incompatible return type (CrCh220)

SEC Impacts

Problem description

The return type for the openlog function is different on Tru64 UNIX and HP-UX.

The openlog function initializes the system log file if special processing is needed.

On Tru64 UNIX, openlog returns a value and sets errno. It also has the following function prototype:

int     openlog(const char *, int, int)

On HP-UX, openlog does not return any value. It also has the following function prototype:

void    openlog(const char *, int, int)

Identifiers

C/C++ Functionsopenlog        

See also

Solution description

Review the applicable manpages and your code to determine if unexpected behavior will result.

See also


Problem summary

classifications source types OS release severity type
SEC 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.