blob: cec5ddce67cc966862a1c8602cea3b9528d37c6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <signal.h>
#include "syscall.h"
#include "libc.h"
int sigsuspend(const sigset_t *mask)
{
int ret;
CANCELPT_BEGIN;
ret = syscall(SYS_rt_sigsuspend, mask, 8);
if (ret<0) CANCELPT_TRY;
CANCELPT_END;
return ret;
}
|