implement pthread_rwlockattr_* (essentially no-ops)
[musl] / src / thread / pthread_rwlockattr_init.c
diff --git a/src/thread/pthread_rwlockattr_init.c b/src/thread/pthread_rwlockattr_init.c
new file mode 100644 (file)
index 0000000..e0893d6
--- /dev/null
@@ -0,0 +1,7 @@
+#include "pthread_impl.h"
+
+int pthread_rwlockattr_init(pthread_rwlockattr_t *a)
+{
+       memset(a, 0, sizeof *a);
+       return 0;
+}