in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / thread / sem_getvalue.c
2011-03-04 Rich Felkerimplement POSIX semaphores