in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / dirent / telldir.c
1 #include <dirent.h>
2 #include "__dirent.h"
3
4 long telldir(DIR *dir)
5 {
6         return dir->tell;
7 }