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

pid_t setpgid(pid_t pid, pid_t pgid)
{
	return syscall(SYS_setpgid, pid, pgid);
}