aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/ironclad/include/sys/mount.h
blob: 51263fa115a20ee7e00811e6f8b0c65c8cd34895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _SYS_MOUNT_H
#define _SYS_MOUNT_H

#ifdef __cplusplus
extern "C" {
#endif

#define MNT_EXT 1
#define MNT_FAT 2

#define MS_RDONLY   0b001
#define MS_REMOUNT  0b010
#define MS_RELATIME 0b100

#define MNT_FORCE 1

int mount(const char *source, const char *target, int type, int flags);
int umount(const char *target, int flags);

#ifdef __cplusplus
}
#endif

#endif // _SYS_MOUNT_H