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

pid_t setpgid(pid_t pid, pid_t pgid)
{
	return syscall2(__NR_setpgid, pid, pgid);
}