aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getpgid.c
blob: ed44aa96d206cd1f3316c2dfe647e8d3c67ef647 (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 getpgid(pid_t pid)
{
	return syscall(SYS_getpgid, pid);
}


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