Home | History | Annotate | Download | only in src

Lines Matching defs:fp

416 	FILE *fp;
438 fp = fopen(path, "r");
439 if (fp) {
440 if (fstat(fileno(fp), &sb) < 0)
447 if (fread(&magic, sizeof magic, 1, fp) != 1) {
449 fclose(fp);
455 fclose(fp);
456 fp = NULL;
459 rewind(fp);
474 if (!fp)
482 while (getline(&line_buf, &line_len, fp) > 0) {
490 if (fp)
491 fclose(fp);