1 2 3 4 5 6 7
#include <sys/mount.h> #include "syscall.h" int umount2(const char *special, int flags) { return syscall2(__NR_umount2, (long)special, flags); }