summaryrefslogtreecommitdiff
path: root/src/thread/pthread_rwlock_init.c
blob: 82df52e25b4dfe8aa06bd79dbe38cea0bc00a863 (plain)
1
2
3
4
5
6
7
8
9
#include "pthread_impl.h"

int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_t *restrict a)
{
	*rw = (pthread_rwlock_t){0};
	if (a) {
	}
	return 0;
}