summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setpgrp.c
blob: f1f27d18f83e0570cae1ab0e04eb0ec22f0d29ea (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <syscall.h>
#include <unistd.h>

static inline
_syscall2(int,setpgid,pid_t,pid,pid_t,pgid);

int
setpgrp(void)
{
	return setpgid(0,0);
}