toaruos/libc/signal/sigprocmask.c
2022-08-06 18:19:27 +09:00

11 lines
325 B
C

#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));
}