blob: fa0dde72982fea147fe6f6bc3c06b312f7add20d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <sys/cdefs.h>
#include "namespace.h"
#include <lib.h>
#include <string.h>
#include <unistd.h>
pid_t getpgrp(void)
{
message m;
memset(&m, 0, sizeof(m));
return(_syscall(PM_PROC_NR, PM_GETPGRP, &m));
}
|