Lines Matching defs:file
25 FILE* file;
50 /* Create a LineInput object that reads from a FILE* object */
52 lineInput_newFromStdFile( FILE* file )
56 input->std.file = file;
76 static int _lineInput_getLineFromStdFile( LineInput* input, FILE* file );
107 ret = _lineInput_getLineFromStdFile(input, input->std.file);
136 /* Returns TRUE iff the end of file was reached */
168 /* Internal function used to read a new line from a FILE* using fgets().
174 _lineInput_getLineFromStdFile( LineInput* input, FILE* file )
185 if (!fgets(buffer, avail, file)) {
186 /* We either reached the end of file or an i/o error occured.
200 /* This happens when the file has an embedded '\0', treat it
237 if (feof(file)) {