blob: 46518105e9c76deff0a46da0e93502e76832f9ca (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_getsid
#include <syscall.h> // for __syscall_1, syscall
#include <unistd.h> // for pid_t, getsid
pid_t getsid(pid_t pid)
{
return syscall(getsid, pid);
}
|