use umount2 syscall for umount (new targets lack old 1-arg umount)
[musl] / src / linux / umount.c
1 #include <sys/mount.h>
2 #include "syscall.h"
3
4 int umount(const char *special)
5 {
6         return syscall2(__NR_umount2, (long)special, 0);
7 }