summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mount.c
blob: 6cd77f1b329a7810cf23ae1b5f23ccf817a98346 (plain)
1
2
3
4
5
6
7
8
9

#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);
}