some coverity fixes.
[minix.git] / lib / libc / sys-minix / getpgrp.c
blob8df2865f6e540377a0a5ac2560195051d9521ad9
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <unistd.h>
7 #ifdef __weak_alias
8 __weak_alias(getpgrp, _getpgrp)
9 #endif
11 pid_t getpgrp()
13 message m;
15 return(_syscall(PM_PROC_NR, GETPGRP, &m));