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

pid_t getpgrp(void)
{
	return __syscall(SYS_getpgid, 0);
}