minix/lib/libc/posix/_getpgrp.c
2010-06-08 13:58:01 +00:00

10 lines
149 B
C

#include <lib.h>
#define getpgrp _getpgrp
#include <unistd.h>
PUBLIC pid_t getpgrp()
{
message m;
return(_syscall(PM_PROC_NR, GETPGRP, &m));
}