summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/sys/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/include/sys/sem.h')
-rw-r--r--mdk-stage1/dietlibc/include/sys/sem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/sys/sem.h b/mdk-stage1/dietlibc/include/sys/sem.h
new file mode 100644
index 000000000..cc182649c
--- /dev/null
+++ b/mdk-stage1/dietlibc/include/sys/sem.h
@@ -0,0 +1,11 @@
+#ifndef _SYS_SEM_H
+#define _SYS_SEM_H
+
+#include <linux/sem.h>
+#include <sys/ipc.h>
+
+extern int semget( key_t key, int nsems, int semflg) __THROW;
+extern int semctl(int semid, int semnum, int cmd, union semun arg) __THROW;
+extern int semop(int semid, struct sembuf *sops, unsigned nsops) __THROW;
+
+#endif