mount.c\linux\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/mount.c
blob: 34e11af120353e07961d05bb60f568457ca7c9c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 syscall(SYS_mount, special, dir, fstype, flags, data);
}
int umount(const char *special)
{
	return syscall(SYS_umount2, special, 0);
}
int umount2(const char *special, int flags)
{
	return syscall(SYS_umount2, special, flags);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月13日 08:26:50 +0000

AltStyle によって変換されたページ (->オリジナル) /