in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / stdio / putw.c
1 #include <stdio.h>
2
3 int putw(int x, FILE *f)
4 {
5         return fwrite(&x, sizeof x, 1, f) ? x : EOF;
6 }