if returning errno value directly from a syscall, we need to negate it.
[musl] / src / thread / pthread_attr_setscope.c
1 #include "pthread_impl.h"
2
3 int pthread_attr_setscope(pthread_attr_t *a, int scope)
4 {
5         if (scope > 1U) return EINVAL;
6         return 0;
7 }