implement flockfile api, rework stdio locking
[musl] / src / stdio / funlockfile.c
diff --git a/src/stdio/funlockfile.c b/src/stdio/funlockfile.c
new file mode 100644 (file)
index 0000000..d69f68e
--- /dev/null
@@ -0,0 +1,7 @@
+#include "stdio_impl.h"
+#include "pthread_impl.h"
+
+void funlockfile(FILE *f)
+{
+       FUNLOCK(f);
+}