1 2 3 4 5 6 7
#include <sys/signalfd.h> #include "syscall.h" int signalfd(int fd, const sigset_t *sigs, int flags) { return syscall(SYS_signalfd, fd, sigs, 8); }