2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
5 POSIX.1-2008 function sigsuspend().
8 #include <aros/debug.h>
11 /*****************************************************************************
23 replace the callers signal mask, and suspend it
24 until it signaled to terminate, or to invoke a
27 If the signal terminates the process, sigsuspend()
30 If the signal is caught, sigsuspend() returns following the
31 signal handler, and the signal mask is restored to
32 the state prior to calling sigsuspend().
34 SIGKILL or SIGSTOP cannot be blocked; specifying
35 them in the mask has no effect on the process's signal mask.
40 always returns -1, normally with the error EINTR.
45 Normally used in conjunction with sigprocmask(), to prevent
46 signal delivery during critical code sections. Callers must
47 block the signals with sigprocmask(). On completion, the caller
48 waits for signals by calling sigsuspend() with the return value
56 kill(), pause(), sigaction(), signal(), sigprocmask(),
57 sigwaitinfo(), sigsetops(), sigwait()
62 ******************************************************************************/
64 /* TODO: Implement sigsuspend() */
65 AROS_FUNCTION_NOT_IMPLEMENTED("posixc");