Home | History | Annotate | Download | only in utils

Lines Matching defs:fp

261     FILE*        fp = fopen(filepath, "rt");
267 if (fp == NULL) {
273 fseek(fp, 0, SEEK_END);
274 size = ftell(fp);
275 fseek(fp, 0, SEEK_SET);
290 len = fread(text, 1, size, fp);
297 fclose(fp);
314 FILE* fp = fopen(filepath, "wt");
319 if (fp == NULL) {
329 if (fwrite(temp, p - temp, 1, fp) != 1) {
336 fclose(fp);