refactor: restructure the user space stuff.
[lunaix-os.git] / lunaix-os / usr / libc / includes / lunaix / mount.h
diff --git a/lunaix-os/usr/libc/includes/lunaix/mount.h b/lunaix-os/usr/libc/includes/lunaix/mount.h
new file mode 100644 (file)
index 0000000..4f41c70
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __LUNAIX_SYS_MOUNT_H
+#define __LUNAIX_SYS_MOUNT_H
+
+#include <lunaix/types.h>
+
+extern int mount(const char* source, const char* target, const char* fstype, int flags);
+
+extern int unmount(const char* target);
+
+static inline int umount(const char* target)
+{
+  return unmount(target);
+}
+#endif /* __LUNAIX_MOUNT_H */