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

int mount(const char *special, const char *dir, const char *fstype, unsigned long flags, const void *data)
{
	return syscall5(__NR_mount, (long)special, (long)dir, (long)fstype, flags, (long)data);
}