X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fmntent.h;h=3492a1d6daa25ad9f061ab67f5b5938603ea7c40;hb=0a7b4323b0f2b944dbd47a813c0c6e6813e7fd67;hp=c0fed7fc8b152019c63e83071ba0cfe118eccdd5;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/include/mntent.h b/include/mntent.h index c0fed7fc..3492a1d6 100644 --- a/include/mntent.h +++ b/include/mntent.h @@ -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 *);