blob: 526329e2c5cdce8dad5ff87affd1a7fece0387f0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef _FSTAB_H
#define _FSTAB_H 1
#ifdef __cplusplus
extern "C" {
#endif
#define _PATH_FSTAB "/etc/fstab"
#define FSTAB_RW "rw"
#define FSTAB_RQ "rq"
#define FSTAB_RO "ro"
#define FSTAB_SW "sw"
#define FSTAB_XX "xx"
struct fstab {
char *fs_spec;
char *fs_file;
char *fs_vfstype;
char *fs_mntops;
char const *fs_type;
int fs_freq;
int fs_passno;
};
struct fstab *getfsent (void);
struct fstab *getfsspec (char const *);
struct fstab *getfsfile (char const *);
int setfsent (void);
void endfsent (void);
#ifdef __cplusplus
}
#endif
#endif
|