etc/services - sync with NetBSD-8
[minix.git] / minix / lib / libc / sys / chroot.c
blob3ce90705d6e6159c49327c944763bc85cb8e177d
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <string.h>
6 #include <unistd.h>
8 int chroot(name)
9 const char *name;
11 message m;
13 memset(&m, 0, sizeof(m));
14 _loadname(name, &m);
15 return(_syscall(VFS_PROC_NR, VFS_CHROOT, &m));