diff options
Diffstat (limited to 'lib/sys')
| -rw-r--r-- | lib/sys/unmount.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/unmount.h b/lib/sys/unmount.h new file mode 100644 index 0000000..1331e65 --- /dev/null +++ b/lib/sys/unmount.h @@ -0,0 +1,11 @@ +#ifndef UNMOUNT_H +#define UNMOUNT_H + +#include "syscalls.h" + +int unmount(char *pathname, int flags) +{ + return syscall(UMOUNT2, pathname, flags); +} + +#endif |