summaryrefslogtreecommitdiff
path: root/lib/libc/sys/umount2.c
blob: 12f37f98c5103a6ea3c9e02be689e43bc0c2f65c (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 umount2(const char *target, int flags)
{
	return syscall(umount2, target, flags);
}