don't reject unknown/future flags in sigaltstack, allow SS_AUTODISARM
[musl.git] / src / thread / pthread_rwlock_init.c
bloba2c0b478c78cf36ef7f15e4d65956e517c647221
1 #include "pthread_impl.h"
3 int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_t *restrict a)
5 *rw = (pthread_rwlock_t){0};
6 if (a) rw->_rw_shared = a->__attr[0]*128;
7 return 0;