summaryrefslogtreecommitdiff
path: root/src/linux/mount.c
blob: 61299d482c5e8a11a624b7bd600b117e12cb47d4 (plain)
1
2
3
4
5
6
7
8
#include <sys/mount.h>
#define SYSCALL_STANDALONE
#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);
}