1#include <unistd.h> 2#include "syscall.h" 3 4int setpgid(pid_t pid, pid_t pgid) 5{ 6 return syscall(SYS_setpgid, pid, pgid); 7}