aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/mount.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/mount.h')
-rw-r--r--lib/sys/mount.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/mount.h b/lib/sys/mount.h
new file mode 100644
index 0000000..6451b22
--- /dev/null
+++ b/lib/sys/mount.h
@@ -0,0 +1,11 @@
+#ifndef MOUNT_H
+#define MOUNT_H
+
+#include "syscalls.h"
+
+int mount(const char *src, const char *target, const char *type, unsigned long flags, const void *data)
+{
+ return syscall(MOUNT, src, target, type, flags, data);
+}
+
+#endif