in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / linux / chroot.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 int chroot(const char *path)
5 {
6         return syscall(SYS_chroot, path);
7 }