aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/lyre/generic/mount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/sysdeps/lyre/generic/mount.cpp')
-rw-r--r--lib/mlibc/sysdeps/lyre/generic/mount.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/mlibc/sysdeps/lyre/generic/mount.cpp b/lib/mlibc/sysdeps/lyre/generic/mount.cpp
new file mode 100644
index 0000000..f10254d
--- /dev/null
+++ b/lib/mlibc/sysdeps/lyre/generic/mount.cpp
@@ -0,0 +1,16 @@
+#include <errno.h>
+#include <sys/mount.h>
+#include <bits/ensure.h>
+
+int mount(const char *source, const char *target,
+ const char *fstype, unsigned long flags, const void *data) {
+ return 0;
+}
+
+int umount(const char *target) {
+ return umount2(target, 0);
+}
+
+int umount2(const char *target, int flags) {
+ return 0;
+}