Lines Matching refs:fread
2 Test fread() function : usage variations - read beyond file size, write only mode
23 $data_from_file = fread($file_handle, $read_size);
39 echo "*** Testing fread() : usage variations ***\n";
48 echo "\n-- Testing fread() with file having content of type ". $file_content_type ." --\n";
50 /* open the file using $files_modes and perform fread() on it */
79 // try fread when file pointer at end
97 *** Testing fread() : usage variations ***
99 -- Testing fread() with file having content of type numeric --
105 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
113 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
122 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
130 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
139 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
147 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
156 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
164 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
173 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
181 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
190 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
198 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
207 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
215 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
224 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
232 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
241 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
249 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
254 -- Testing fread() with file having content of type text --
260 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
268 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
277 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
285 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
294 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
302 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
311 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
319 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
328 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
336 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
345 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
353 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
362 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
370 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
379 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
387 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
396 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
404 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
409 -- Testing fread() with file having content of type text_with_new_line --
415 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
423 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
432 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
440 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
449 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
457 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
466 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
474 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
483 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
491 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
500 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
508 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
517 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
525 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
534 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
542 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
551 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
559 Notice: fread(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d