projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git]
/
src
/
thread
/
pthread_attr_setscope.c
diff --git
a/src/thread/pthread_attr_setscope.c
b/src/thread/pthread_attr_setscope.c
index a970a819b52d38472ae3e13b60a46a6d1251b761..d56ee391a1dd77aad23c83805856d3018af957ec 100644
(file)
--- a/
src/thread/pthread_attr_setscope.c
+++ b/
src/thread/pthread_attr_setscope.c
@@
-2,5
+2,6
@@
int pthread_attr_setscope(pthread_attr_t *a, int scope)
{
+ if (scope > 1U) return EINVAL;
return 0;
}