blob: 34e11af120353e07961d05bb60f568457ca7c9c6 (
plain) (
tree)
|
|
#include <sys/mount.h>
#include "syscall.h"
int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void *data)
{
return syscall(SYS_mount, special, dir, fstype, flags, data);
}
int umount(const char *special)
{
return syscall(SYS_umount2, special, 0);
}
int umount2(const char *special, int flags)
{
return syscall(SYS_umount2, special, flags);
}
|