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