minix/lib/posix/_chroot.c

13 lines
181 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define chroot _chroot
#include <unistd.h>
PUBLIC int chroot(name)
_CONST char *name;
{
message m;
_loadname(name, &m);
return(_syscall(FS, CHROOT, &m));
}