Lines Matching refs:to_file
139 FILE *to_file;
151 to_file = fopen(semi + 1, "rb");
152 if (!to_file) {
162 fseek(to_file, 0, SEEK_END);
163 unsaved->Length = ftell(to_file);
164 fseek(to_file, 0, SEEK_SET);
168 if (fread(contents, 1, unsaved->Length, to_file) != unsaved->Length) {
170 (feof(to_file) ? "EOF" : "error"), semi + 1);
171 fclose(to_file);
182 fclose(to_file);