in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / stat / stat.c
1 #include <sys/stat.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 int stat(const char *path, struct stat *buf)
6 {
7         return syscall(SYS_stat, path, buf);
8 }
9
10 LFS64(stat);