9 #include <bits/alltypes.h>
11 #define MOUNTED "/etc/mtab"
13 #define MNTTYPE_IGNORE "ignore"
14 #define MNTTYPE_NFS "nfs"
15 #define MNTTYPE_SWAP "swap"
16 #define MNTOPT_DEFAULTS "defaults"
17 #define MNTOPT_RO "ro"
18 #define MNTOPT_RW "rw"
19 #define MNTOPT_SUID "suid"
20 #define MNTOPT_NOSUID "nosuid"
21 #define MNTOPT_NOAUTO "noauto"
32 FILE *setmntent(const char *, const char *);
33 int endmntent(FILE *);
34 struct mntent
*getmntent(FILE *);
35 struct mntent
*getmntent_r(FILE *, struct mntent
*, char *, int);
36 int addmntent(FILE *, const struct mntent
*);
37 char *hasmntopt(const struct mntent
*, const char *);