#include #include #include #include extern "C" { int mount(const char* target, const char* fstype, const char* source) { long rc = syscall(SYS_mount, target, fstype, source); __errno_return(rc, int); } int umount(const char* target) { long rc = syscall(SYS_umount, target); __errno_return(rc, int); } }