SYNOPSIS
#include <signal.h>
void(*sigset(int sig, void (*disp)(int)))(int);
DESCRIPTION
The
If disp is the address of the signal handler, the system adds sig to the signal mask of the calling process before executing the signal handler. When the signal handler returns, the system restores the signal mask of the calling process to its state prior to delivering the signal. If disp is SIG_HOLD, the system adds sig to the signal mask of the calling process and leaves the signal's disposition unchanged.
If
If
PARAMETERS
- sig
-
Specifies the signal, which may be any signal except SIGKILL or SIGSTOP.
- disp
-
Specifies the signal's disposition, which may be SIG_DFL, SIG_HOLD, SIG_IGN, or the address of a signal handler.
RETURN VALUES
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
kill() ,pause() ,sigaction() ,sighold() ,sigignore() ,signal() ,sigpause() ,sigrelse() ,wait()
PTC MKS Toolkit 10.4 Documentation Build 39.