Signal Manager sigwait - Synchronously Accept a Signal
RTEMS POSIX API User's Guide
2.4.14: sigwait - Synchronously Accept a Signal
CALLING SEQUENCE:
#include <signal.h>
int sigwait(
const sigset_t *set,
int *sig
);
STATUS CODES:
EINVAL
Invalid argument passed.
EINTR
Signal interrupted this function.
DESCRIPTION:
This function selects a pending signal based on the set specified in
set, atomically clears it from the set of pending signals, and
returns the signal number for that signal in sig.