in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / stat / fchmod.c
1 #include <sys/stat.h>
2 #include "syscall.h"
3
4 int fchmod(int fd, mode_t mode)
5 {
6         return syscall(SYS_fchmod, fd, mode);
7 }