mirror of
https://github.com/fluencelabs/musl
synced 2025-06-28 22:22:01 +00:00
9 lines
170 B
C
9 lines
170 B
C
#include "pthread_impl.h"
|
|
|
|
int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *a, int pshared)
|
|
{
|
|
if (pshared > 1U) return EINVAL;
|
|
*(int *)a = pshared;
|
|
return 0;
|
|
}
|