Lines Matching refs:read
2 Test fread() function : usage variations - read some/all chars, read/write modes
8 Reading stops when up to length bytes have been read, EOF (end of file) is
10 opening userspace stream) when 8192 bytes have been read whichever comes first.
22 bytes are read.
24 $read_size : No. of bytes to be read.
26 Returns: returns the data read
29 // print file pointer position before read
33 // read the data of size $read_size
37 // check if data read is of expected size
41 echo "Error reading file, total number of bytes read = ".strlen($data_from_file)."\n";
43 // file pointer position after read
83 // read from file, by giving the file actual size,
85 // calculate the hash and dump it, if data read, expecting here no data was read
93 // calculate the hash and dump it, if data read, expecting here no data was read