Home | History | Annotate | Download | only in src

Lines Matching defs:fp

61 	FILE *fp = NULL;
68 fp = fopen("/proc/filesystems", "r");
69 if (!fp) {
74 __fsetlocking(fp, FSETLOCKING_BYCALLER);
76 num = getline(&buf, &len, fp);
82 num = getline(&buf, &len, fp);
86 fclose(fp);
102 FILE *fp=NULL;
119 fp = fopen("/proc/mounts", "r");
120 if (!fp)
123 __fsetlocking(fp, FSETLOCKING_BYCALLER);
124 while ((num = getline(&buf, &len, fp)) != -1) {
145 if (fp)
146 fclose(fp);