blob: 6f5954b665ed49e3cf8a28d396c01b1998917f26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <mlvalues.h>
#include "unix.h"
value unix_chroot(path) /* ML */
value path;
{
int ret;
ret = chroot(String_val(path));
if (ret == -1) uerror("chroot", path);
return Val_unit;
}
|