critical impact:
BSD signal functions - not supported; temporarily available (CrUn173)
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. Identifiers
 sigblock |
 sigsetmask |
 sigvec |
|
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 |
|