options/posix: Stubbed shmget()
#include <sys/shm.h>
#include <bits/ensure.h>
+#include <mlibc/debug.hpp>
void *shmat(int, const void *, int) {
__ensure(!"Function is not implemented");
@@ -18,6 +19,6 @@ int shmdt(const void *) {
}
int shmget(key_t, size_t, int) {
- __ensure(!"Function is not implemented");
- __builtin_unreachable();
+ mlibc::infoLogger() << "mlibc: shmget() is a no-op!" << frg::endlog;
+ return -1;
}
