implement POSIX semaphores
[musl] / src / thread / sem_unlink.c
diff --git a/src/thread/sem_unlink.c b/src/thread/sem_unlink.c
new file mode 100644 (file)
index 0000000..c06134b
--- /dev/null
@@ -0,0 +1,7 @@
+#include <semaphore.h>
+#include <sys/mman.h>
+
+int sem_unlink(const char *name)
+{
+       return shm_unlink(name);
+}