in pathconf, -1, not 0, means unsupported.. syncio presumably works, too.
[musl] / src / thread / pthread_barrierattr_destroy.c
1 #include "pthread_impl.h"
2
3 int pthread_barrierattr_destroy(pthread_barrierattr_t *a)
4 {
5         return 0;
6 }