summaryrefslogtreecommitdiff
path: root/src/linux/umount2.c
blob: cab93fd042bb3baea4f2291dde485406c395ea34 (plain) (blame)
1
2
3
4
5
6
7
8
#include <sys/mount.h>
#define SYSCALL_STANDALONE
#include "syscall.h"

int umount2(const char *special, int flags)
{
	return syscall2(__NR_umount2, (long)special, flags);
}