diff options
Diffstat (limited to 'libc/include/mntent.h')
-rw-r--r-- | libc/include/mntent.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/libc/include/mntent.h b/libc/include/mntent.h index 6cc0b18..de285d0 100644 --- a/libc/include/mntent.h +++ b/libc/include/mntent.h @@ -35,23 +35,21 @@ #define MOUNTED _PATH_MOUNTED #define MNTTYPE_IGNORE "ignore" -struct mntent -{ - char* mnt_fsname; - char* mnt_dir; - char* mnt_type; - char* mnt_opts; - int mnt_freq; - int mnt_passno; +struct mntent { + char* mnt_fsname; + char* mnt_dir; + char* mnt_type; + char* mnt_opts; + int mnt_freq; + int mnt_passno; }; - __BEGIN_DECLS - +int endmntent(FILE*); struct mntent* getmntent(FILE*); +struct mntent* getmntent_r(FILE*, struct mntent*, char*, int); FILE* setmntent(const char*, const char*); -int endmntent(FILE*); __END_DECLS |