SYNOPSIS
#include <signal.h>
int sigwait(const sigset_t *set, int *sig);
DESCRIPTION
The
If more than one thread is
using
Should any of the multiple pending signals be in the range SIGRTMIN to SIGRTMAX, the lowest numbered one is delivered first. The selection order between realtime and non-realtime signals is unspecified.
PARAMETERS
- set
-
Specifies the set of signals to wait for.
- sig
-
Is the address into which the signal number of the received signal is stored.
RETURN VALUES
- EFAULT
-
sig or set are an invalid pointer.
- EINVAL
-
The set argument contains an invalid or unsupported signal number.
CONFORMANCE
POSIX.1 (1996)
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:
pause() ,sigaction() ,signal() ,sigpause() ,sigpending() ,sigwaitinfo()
MKS Toolkit 9.2 Documentation Build 16.