source:
trunk/minix/lib/posix/_chroot.c@
20
Last change on this file since 20 was 9, checked in by , 14 years ago | |
---|---|
File size: 181 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | #include <lib.h> |
2 | #define chroot _chroot | |
3 | #include <unistd.h> | |
4 | ||
5 | PUBLIC int chroot(name) | |
6 | _CONST char *name; | |
7 | { | |
8 | message m; | |
9 | ||
10 | _loadname(name, &m); | |
11 | return(_syscall(FS, CHROOT, &m)); | |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.