musl-tcc/src/linux/chroot.c

9 lines
130 B
C
Raw Normal View History

2022-03-20 08:48:53 +00:00
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int chroot(const char *path)
{
return syscall(SYS_chroot, path);
}