1 #include <unistd.h>
2 #include "syscall.h"
3 
getpgrp(void)4 pid_t getpgrp(void)
5 {
6 	return __syscall(SYS_getpgid, 0);
7 }
8