summaryrefslogtreecommitdiff
path: root/src/unistd/setpgid.c
blob: 288dc4ebc0a1b009a8b1ac9b1069fcac1dd1385f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "errno.h"
#include "../_syscall.h"

int setpgid(pid_t pid, pid_t pgid)
{
	SYSCALL("setpgid", int, -1, pid, pgid, 0, 0, 0, 0);
}
/*
POSIX(1)
*/