diff options
Diffstat (limited to 'lib/sys')
| -rw-r--r-- | lib/sys/mount.h | 11 |
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 |