aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getsid.c
blob: da4479ccb805dbce0c4ee27f1704b03f1584a59c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <unistd.h>
#include "syscall.h"

pid_t getsid(pid_t pid)
{
	return syscall(SYS_getsid, pid);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif