From 05cf1511dfcde10717894bab2004150ad43cca3f Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 11 Feb 2023 16:14:56 +0100 Subject: add mount --- lib/sys/mount.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/sys/mount.h (limited to 'lib/sys/mount.h') 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 -- cgit v1.2.3-70-g09d2