if returning errno value directly from a syscall, we need to negate it.
[musl] / src / thread / pthread_sigmask.c
2011-03-10 Rich Felkerfix error handling for pthread_sigmask