1570af302Sopenharmony_ci#include "pthread_impl.h" 2570af302Sopenharmony_ci 3570af302Sopenharmony_ciint pthread_rwlockattr_setpshared(pthread_rwlockattr_t *a, int pshared) 4570af302Sopenharmony_ci{ 5570af302Sopenharmony_ci if (pshared > 1U) return EINVAL; 6570af302Sopenharmony_ci a->__attr[0] = pshared; 7570af302Sopenharmony_ci return 0; 8570af302Sopenharmony_ci} 9