summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/generic/sys-msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/posix/generic/sys-msg.cpp')
-rw-r--r--lib/mlibc/options/posix/generic/sys-msg.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/mlibc/options/posix/generic/sys-msg.cpp b/lib/mlibc/options/posix/generic/sys-msg.cpp
new file mode 100644
index 0000000..95f067e
--- /dev/null
+++ b/lib/mlibc/options/posix/generic/sys-msg.cpp
@@ -0,0 +1,23 @@
+
+#include <bits/ensure.h>
+#include <sys/msg.h>
+
+int msgget(key_t, int) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}
+
+int msgctl(int, int, struct msqid_ds *) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}
+
+ssize_t msgrcv(int, void *, size_t, long, int) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}
+
+int msgsnd(int, const void *, size_t, int) {
+ __ensure(!"Not implemented");
+ __builtin_unreachable();
+}