in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / ctype / toupper.c
1 #include <ctype.h>
2
3 int toupper(int c)
4 {
5         if (islower(c)) return c & 0x5f;
6         return c;
7 }