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:

BSD signal functions - not supported; temporarily available (CrUn173)

ME Impacts SIG Impacts

Problem description

The sigvec function exists on Tru64 UNIX, but not on HP-UX. The sigblock and sigsetmask functions exist on both platforms, but will not be available in future HP-UX releases. These functions are available on a temporary basis in the Tru64 UNIX Migration Environment for HP-UX.

The Migration Environment contains Tru64 UNIX APIs, development tools, and commands and utilities to assist customers in migrating their applications from Tru64 UNIX to HP-UX.

The functions are BSD signal functions.

On HP-UX, sigvector is similar to sigvec. The sigvector function, however, uses a different approach for specifying whether or not interrupted system calls are restarted.

The sigvector, sigblock, and sigsetmask functions will not be available in future HP-UX releases because they use a 32-bit mask (1 bit per signal), and HP-UX has more than 32 signals. Therefore, the functions cannot control the behavior of all signals.


C/C++ Functionssigblock C/C++ Functionssigsetmask C/C++ Functionssigvec  

See also

Solution description

The sigvec, sigblock, and sigsetmask functions are in the Tru64 UNIX Migration Environment for HP-UX.

Please note that the Migration Environment is temporary. For a long-term solution, use the POSIX signal functions instead. The following shows the mapping between the BSD and POSIX functions:

    BSD           POSIX
    ---           -----
    sigvec        sigaction
    sigblock      sigprocmask
    sigsetmask    sigprocmask
    sigpause      sigsuspend

See also

Problem summary

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