Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: fusl/include/mntent.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/memory.h ('k') | fusl/include/monetary.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _MNTENT_H
2 #define _MNTENT_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define __NEED_FILE
9 #include <bits/alltypes.h>
10
11 #define MOUNTED "/etc/mtab"
12
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"
22
23 struct mntent
24 {
25 char *mnt_fsname;
26 char *mnt_dir;
27 char *mnt_type;
28 char *mnt_opts;
29 int mnt_freq;
30 int mnt_passno;
31 };
32
33 FILE *setmntent(const char *, const char *);
34 int endmntent(FILE *);
35 struct mntent *getmntent(FILE *);
36 struct mntent *getmntent_r(FILE *, struct mntent *, char *, int);
37 int addmntent(FILE *, const struct mntent *);
38 char *hasmntopt(const struct mntent *, const char *);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif
OLDNEW
« no previous file with comments | « fusl/include/memory.h ('k') | fusl/include/monetary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698