__aeabi_ldivmod: fix sign logic
[minix.git] / lib / libc / sys-minix / chroot.c
blobdecd519b25c7fee44a0b59ab857d827ccedb963f
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <unistd.h>
7 #ifdef __weak_alias
8 __weak_alias(chroot, _chroot)
9 #endif
11 int chroot(name)
12 const char *name;
14 message m;
16 _loadname(name, &m);
17 return(_syscall(VFS_PROC_NR, CHROOT, &m));