Files
musl/src/thread/pthread_rwlockattr_setpshared.c
2011-03-07 16:43:25 -05:00

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;
}