Lines Matching defs:mnt
257 winCheckMntOpt(const struct mntent *mnt, const char *opt)
262 if (mnt == NULL)
266 if (mnt->mnt_opts == NULL)
270 s = strstr(mnt->mnt_opts, opt);
273 if ((s == mnt->mnt_opts || *(s - 1) == ',') &&
282 FILE *mnt;
289 mnt = setmntent("/etc/mtab", "r");
290 if (mnt == NULL) {
295 while ((ent = getmntent(mnt)) != NULL) {
328 if (endmntent(mnt) != 1) {