Lines Matching refs:file

7  Description: Gets line from file pointer and parse for CSV fields
10 /* Testing fgetcsv() by reading a file containing a blank line */
25 // create the file and add the content with has csv fields
32 echo "Error: failed to create file $filename!\n";
38 // close the file if the mode to be used is read mode and re-open using read mode
39 // else rewind the file pointer to beginning of the file
44 // rewind the file pointer to bof
48 echo "\n-- Testing fgetcsv() with file opened using $file_modes[$mode_counter] mode --\n";
55 // check the file pointer position and if eof
60 // check the file pointer position and if eof
64 // close the file
66 //delete file
75 -- Testing fgetcsv() with file opened using r mode --
86 -- Testing fgetcsv() with file opened using rb mode --
97 -- Testing fgetcsv() with file opened using rt mode --
108 -- Testing fgetcsv() with file opened using r+ mode --
119 -- Testing fgetcsv() with file opened using r+b mode --
130 -- Testing fgetcsv() with file opened using r+t mode --
141 -- Testing fgetcsv() with file opened using a+ mode --
152 -- Testing fgetcsv() with file opened using a+b mode --
163 -- Testing fgetcsv() with file opened using a+t mode --
174 -- Testing fgetcsv() with file opened using w+ mode --
185 -- Testing fgetcsv() with file opened using w+b mode --
196 -- Testing fgetcsv() with file opened using w+t mode --
207 -- Testing fgetcsv() with file opened using x+ mode --
218 -- Testing fgetcsv() with file opened using x+b mode --
229 -- Testing fgetcsv() with file opened using x+t mode --