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
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:
pause() ,sigaction() ,signal() ,sigpause() ,sigpending() ,sigwaitinfo()
PTC MKS Toolkit 10.5 Documentation Build 40.