aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getpgid.c
blob: 50d716b5eab744d07d4aba21713c3f369229f4ae (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

pid_t getpgid(pid_t pid)
{
	return syscall1(__NR_getpgid, pid);
}