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