Home | History | Annotate | Download | only in pending

Lines Matching defs:fp

105   FILE* fp;
110 fp = fopen(toybuf, "r");
111 if (!fp) return;
113 if (fscanf(fp, "pos: %lld flags: %o", &pos, &flags) == 2) {
121 fclose(fp);
128 FILE *fp = fopen(path, "r");
132 if (!fp) return 0;
134 if (!getline(&line, &line_length, fp)) return 0; // Skip header.
136 while (getline(&line, &line_length, fp) > 0) {
142 fclose(fp);
329 FILE *fp;
337 fp = fopen(toybuf, "r");
338 if (!fp) return;
340 while (getline(&line, &line_length, fp) > 0) {
358 fclose(fp);
385 FILE *fp;
391 fp = fopen(toybuf, "r");
392 if (!fp) return;
396 line = fgets(toybuf, sizeof(toybuf), fp);
397 fclose(fp);