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
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
kill() ,pause() ,sigaction() ,sighold() ,sigignore() ,signal() ,sigpause() ,sigrelse() ,wait()
MKS Toolkit 9.3 Documentation Build 6.