blob: 8c7a1e26b8943e7011d90cf07ad9eae74b21e8e5 [file] [log] [blame]
#include "pthread_impl.h"
int pthread_mutexattr_setpshared(pthread_mutexattr_t *a, int pshared)
{
if (pshared > 1U) return EINVAL;
a->__attr &= 0x7fffffff;
a->__attr |= pshared<<31;
return 0;
}