diff options
Diffstat (limited to 'userland/libc/signal/kill.c')
-rw-r--r-- | userland/libc/signal/kill.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/userland/libc/signal/kill.c b/userland/libc/signal/kill.c new file mode 100644 index 0000000..3351baa --- /dev/null +++ b/userland/libc/signal/kill.c @@ -0,0 +1,4 @@ +#include <signal.h> +#include <syscall.h> + +int kill(pid_t pid, int sig) { RC_ERRNO(syscall(SYS_KILL, pid, sig, 0, 0, 0)) } |