minix/lib/libc/posix/_chroot.c
2010-06-08 13:58:01 +00:00

12 lines
190 B
C

#include <lib.h>
#define chroot _chroot
#include <unistd.h>
PUBLIC int chroot(name)
_CONST char *name;
{
message m;
_loadname(name, &m);
return(_syscall(VFS_PROC_NR, CHROOT, &m));
}