toaruos/libc/signal/kill.c
2018-10-08 10:23:10 +09:00

11 lines
192 B
C

#include <signal.h>
#include <syscall.h>
#include <errno.h>
DEFN_SYSCALL2(send_signal, 37, uint32_t, uint32_t);
int kill(int pid, int sig) {
__sets_errno(syscall_send_signal(pid, sig));
}