#include // for __syscall_2, syscall #include // for pid_t, setpgid int setpgid(pid_t pid, pid_t pgid) { return syscall(setpgid, pid, pgid); }