if returning errno value directly from a syscall, we need to negate it.
[musl] / src / thread / pthread_barrierattr_getpshared.c
2011-03-07 Rich Felkerimplement barrier attribute functions (essentially...