about summary refs log tree commit diff
path: root/src/thread/pthread_rwlock_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_rwlock_init.c')
-rw-r--r--src/thread/pthread_rwlock_init.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/thread/pthread_rwlock_init.c b/src/thread/pthread_rwlock_init.c
new file mode 100644
index 00000000..f87d566c
--- /dev/null
+++ b/src/thread/pthread_rwlock_init.c
@@ -0,0 +1,9 @@
+#include "pthread_impl.h"
+
+int pthread_rwlock_init(pthread_rwlock_t *rw, const pthread_rwlockattr_t *a)
+{
+	memset(rw, 0, sizeof *rw);
+	if (a) {
+	}
+	return 0;
+}