summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/sys/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/include/sys/msg.h')
-rw-r--r--mdk-stage1/dietlibc/include/sys/msg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/sys/msg.h b/mdk-stage1/dietlibc/include/sys/msg.h
new file mode 100644
index 000000000..ea1e470b6
--- /dev/null
+++ b/mdk-stage1/dietlibc/include/sys/msg.h
@@ -0,0 +1,13 @@
+#ifndef _SYS_MSG_H
+#define _SYS_MSG_H
+
+#include <linux/msg.h>
+#include <sys/ipc.h>
+#include <asm/page.h>
+
+extern int msgctl (int msqid, int cmd, struct msqid_ds *buf) __THROW;
+extern int msgget (key_t key, int msgflg) __THROW;
+extern int msgrcv (int msqid, void *msgp, size_t msgsz, long int msgtyp, int msgflg) __THROW;
+extern int msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg) __THROW;
+
+#endif