fread

Синтаксис

native fread(file, &any:data, mode);

Употреба

file
Handle to the file
data
Variable to store item read
mode
Size of each element, in bytes, to be read
See BLOCK_* constants

Описание

Reads a single binary data from a file.

Връщаща стойност

Number of elements read