add new SO_ socket options from linux v4.12
[oweals/musl.git] / include / mntent.h
index c0fed7fc8b152019c63e83071ba0cfe118eccdd5..3492a1d6daa25ad9f061ab67f5b5938603ea7c40 100644 (file)
@@ -20,8 +20,7 @@ extern "C" {
 #define MNTOPT_NOSUID  "nosuid"
 #define MNTOPT_NOAUTO  "noauto"
 
-struct mntent
-{
+struct mntent {
        char *mnt_fsname;
        char *mnt_dir;
        char *mnt_type;
@@ -33,6 +32,7 @@ struct mntent
 FILE *setmntent(const char *, const char *);
 int endmntent(FILE *);
 struct mntent *getmntent(FILE *);
+struct mntent *getmntent_r(FILE *, struct mntent *, char *, int);
 int addmntent(FILE *, const struct mntent *);
 char *hasmntopt(const struct mntent *, const char *);