Lines Matching refs:inf
658 FILE *inf = fopen("/proc/filesystems", "r");
663 if (!inf)
666 res = fgrep(inf, "nodev\tresctrl\n");
673 fclose(inf);
693 char *fgrep(FILE *inf, const char *str)
698 while (!feof(inf)) {
699 if (!fgets(line, 256, inf))
750 FILE *inf;
756 inf = fopen(res_path, "r");
757 if (!inf)
760 res = fgrep(inf, feature);
762 fclose(inf);