Searched refs:mnt (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A DInitOutput.c271 static const char *winCheckMntOpt(const struct mntent *mnt, const char *opt) argument
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; local in function:winCheckMount
301 mnt = setmntent("/etc/mtab", "r");
302 if (mnt == NULL)
308 while ((ent = getmntent(mnt)) != NULL)
344 if (endmntent(mnt) !
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A DInitOutput.c257 winCheckMntOpt(const struct mntent *mnt, const char *opt) argument
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; local in function:winCheckMount
289 mnt = setmntent("/etc/mtab", "r");
290 if (mnt == NULL) {
295 while ((ent = getmntent(mnt)) != NULL) {
328 if (endmntent(mnt) !
[all...]

Completed in 2 milliseconds