toaruos/libc/signal/sigprocmask.c

12 lines
345 B
C
Raw Normal View History

2022-08-18 09:09:23 +03:00
#include <signal.h>
2022-08-06 12:19:20 +03:00
#include <sys/signal.h>
#include <syscall.h>
#include <syscall_nums.h>
#include <errno.h>
DEFN_SYSCALL3(sigprocmask, SYS_SIGPROCMASK, int, const sigset_t * restrict, sigset_t* restrict);
int sigprocmask(int how, const sigset_t * restrict set, sigset_t * restrict oset) {
__sets_errno(syscall_sigprocmask(how,set,oset));
}