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:

wait3 - incompatible parameters (CrCh32)

KN Impacts

Problem description

On Tru64 UNIX, there are two versions of wait3 and wait. For backward compatibility, a BSD version of wait3 and wait are supported. The BSD version is not supported on HP-UX.

The backward-compatible version of wait3 and wait are declared as follows:

extern pid_t wait(union wait *);

#include <sys/resource.h> 
extern pid_t wait3(union wait *, int, struct rusage *);

The backward-compatible version of wait3 or wait is activated only if the _BSD macro is enabled when compiling the application. The union wait data structure is an abstraction to access the individual field of the returned status directly instead of using macros. There is no functionality difference.

Identifiers

C/C++ Functionswait3            

See also

Solution description

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

If an application is using the BSD version of wait3 or wait, you must modify your code to use the standard interface.

See also


Problem summary

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