vm: merge i386 and arm pagetable code
[minix.git] / lib / libminlib / getnpid.c
blob3f88cc196df8a78e81745c74c91381c198bf9c5d
1 #include <lib.h>
2 #include <unistd.h>
4 pid_t getnpid(endpoint_t proc_ep)
6 message m;
7 m.m1_i1 = proc_ep; /* search pid for this process */
8 return _syscall(PM_PROC_NR, GETEPINFO, &m);