in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / thread / sem_wait.c
1 #include <semaphore.h>
2
3 int sem_wait(sem_t *sem)
4 {
5         return sem_timedwait(sem, 0);
6 }