minix/lib/nbsd_libc/sys-minix/getpgrp.c

17 lines
231 B
C
Raw Normal View History

#include <sys/cdefs.h>
#include "namespace.h"
#include <lib.h>
#include <unistd.h>
#ifdef __weak_alias
__weak_alias(getpgrp, _getpgrp)
#endif
PUBLIC pid_t getpgrp()
{
message m;
return(_syscall(PM_PROC_NR, GETPGRP, &m));
}