summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/setpgid.c
blob: 87f50e8f1a2709d7d7732e8f814d1fe292414644 (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_setpgid

#include <syscall.h> // for __syscall_2, syscall
#include <unistd.h>  // for pid_t, setpgid

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