Lines Matching defs:file
10 * This software is licensed as described in the file COPYING, which
16 * furnished to do so, under the terms of the COPYING file.
54 * via inclusions done in setup header file. We assume that we are using
84 FILE *file = NULL;
94 file = fopen(curlrc, FOPEN_READTEXT);
95 if(!file) {
105 file = execpath(".curlrc", &fullp);
106 if(!file)
107 file = execpath("_curlrc", &fullp);
108 if(file)
116 file = fopen(filename, FOPEN_READTEXT);
118 file = stdin;
121 if(file) {
132 while(my_get_line(file, &buf, &fileerror)) {
278 if(file != stdin)
279 fclose(file);
284 rc = 1; /* couldn't open the file */
332 * Reads a line from the given file, ensuring is NUL terminated.
340 /* fgets() returns s on success, and NULL on error or when end of file