mirror of
https://github.com/fluencelabs/musl
synced 2025-06-23 03:31:55 +00:00
reject invalid attribute settings
note that this is a pedantic conformance issue and waste of code. it only affects broken code or code that is probing for conformance.
This commit is contained in:
@ -2,5 +2,6 @@
|
||||
|
||||
int pthread_attr_setscope(pthread_attr_t *a, int scope)
|
||||
{
|
||||
if (scope > 1U) return EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user