refactor: separate syscall interfaces from kernel space, into posix compliant structure.
[lunaix-os.git] / lunaix-os / usr / api / mount.c
diff --git a/lunaix-os/usr/api/mount.c b/lunaix-os/usr/api/mount.c
new file mode 100644 (file)
index 0000000..e073f37
--- /dev/null
@@ -0,0 +1,15 @@
+#include <lunaix/syscall.h>
+#include <usr/sys/mount.h>
+
+__LXSYSCALL4(int,
+             mount,
+             const char*,
+             source,
+             const char*,
+             target,
+             const char*,
+             fstype,
+             int,
+             options)
+
+__LXSYSCALL1(int, unmount, const char*, target)
\ No newline at end of file