blob: bf99499537398156c76f530bd73ff096ce58ce1a (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_getppid
#include <syscall.h> // for __syscall_0, syscall
#include <unistd.h> // for getppid, pid_t
pid_t getppid(void)
{
return syscall(getppid);
}
|