FILE *setmntent(const char *filename, const char *type); struct mntent *getmntent_r(FILE *fp, struct mntent *mntbuf, char *buf, int buflen);