2023-07-21 15:45:02 +03:00
|
|
|
#include <signal.h>
|
|
|
|
#include <sys/syscall.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
int raise(int sig)
|
|
|
|
{
|
|
|
|
return syscall(SYS_RAISE, sig);
|
2023-07-21 19:27:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
int kill(pid_t pid, int sig)
|
|
|
|
{
|
|
|
|
return syscall(SYS_KILL, pid, sig);
|
2023-07-21 15:45:02 +03:00
|
|
|
}
|