fread
Syntax
native fread(file, &any:data, mode);
Usage
| Parameter | Description |
|---|---|
| file | Handle to the file |
| data | Variable to store item read |
| mode | Size of each element, in bytes, to be read See BLOCK_* constants |
Description
Reads a single binary data from a file.
Return
Number of elements read