summaryrefslogtreecommitdiff
path: root/lib/libc/sys/umount.c
blob: 91ce5a77436e25659e8b180242976b0e0aa58283 (plain)
1
2
3
4
5
6
7
8
#include "asm/unistd_64.h" // for __NR_umount2

#include <syscall.h> // for __syscall_2, syscall

int umount(const char *target)
{
	return syscall(umount2, target, 0);
}