make vfs & filesystems use failable copying
[minix3.git] / lib / libsys / srv_fork.c
blob2ba69378ba7c1810fc721849b22e001cf79b72ce
1 #include "syslib.h"
3 #include <string.h>
5 pid_t
6 srv_fork(uid_t reuid, gid_t regid)
8 message m;
10 memset(&m, 0, sizeof(m));
11 m.PM_SRV_FORK_UID = (int) reuid;
12 m.PM_SRV_FORK_GID = (int) regid;
13 return _taskcall(PM_PROC_NR, PM_SRV_FORK, &m);