custom message type for VM_QUERY_EXIT
[minix3.git] / lib / libc / sys-minix / getpgrp.c
blobfa0dde72982fea147fe6f6bc3c06b312f7add20d
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <string.h>
6 #include <unistd.h>
8 pid_t getpgrp(void)
10 message m;
12 memset(&m, 0, sizeof(m));
13 return(_syscall(PM_PROC_NR, PM_GETPGRP, &m));