Lines Matching defs:mnt
271 static const char *winCheckMntOpt(const struct mntent *mnt, const char *opt)
275 if (mnt == NULL)
279 if (mnt->mnt_opts == NULL)
283 s = strstr(mnt->mnt_opts, opt);
286 if ((s == mnt->mnt_opts || *(s-1) == ',') && (s[len] == 0 || s[len] == ','))
294 FILE *mnt;
301 mnt = setmntent("/etc/mtab", "r");
302 if (mnt == NULL)
308 while ((ent = getmntent(mnt)) != NULL)
344 if (endmntent(mnt) != 1)