about summary refs log tree commit diff
path: root/src/unistd/getsid.c
blob: 064229cfd9351c40fb4185896fda4653cca4c83a (plain) (blame)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

pid_t getsid(pid_t pid)
{
	return syscall1(__NR_getsid, pid);
}