banan-os/libc/signal.cpp

8 lines
121 B
C++

#include <signal.h>
#include <sys/syscall.h>
#include <unistd.h>
int raise(int sig)
{
return syscall(SYS_RAISE, sig);
}