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