#include #define getpgrp _getpgrp #include PUBLIC pid_t getpgrp() { message m; return(_syscall(PM_PROC_NR, GETPGRP, &m)); }