mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
15 lines
230 B
C++
15 lines
230 B
C++
|
#include "unistd.h"
|
||
|
#include "errno.h"
|
||
|
#include <Kernel/Syscall.h>
|
||
|
|
||
|
extern "C" {
|
||
|
|
||
|
int kill(pid_t pid, int sig)
|
||
|
{
|
||
|
int rc = Syscall::invoke(Syscall::PosixKill, (dword)pid, (dword)sig);
|
||
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|