summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mount.c
blob: 4ef617b95a274d9043e0e0824960bc29d0c0db93 (plain)
1
2
3
4
5
6
7
8
9
10
#include "asm/unistd_64.h" // for __NR_mount

#include <sys/mount.h> // for mount
#include <syscall.h>   // for __syscall_5, syscall

int mount(const char *source, const char *target, const char *filesystemtype,
	  unsigned long mountflags, const void *_Nullable data)
{
	return syscall(mount, source, target, filesystemtype, mountflags, data);
}