toaruos/libc/signal/sigprocmask.c
2022-08-18 15:09:23 +09:00

12 lines
345 B
C

#include <signal.h>
#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));
}