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

pid_t getpgid(pid_t pid)
{
	return syscall(SYS_getpgid, pid);
}