fread attempts to copy, from the file or stream identified by fp, count elements (each of size size) into memory, starting at buf. fread may copy fewer elements than count if an error, or end of file, intervenes.
fread also advances the file position indicator (if any) for fp by the number of characters actually read.### Returns
The result of fread is the number of elements it succeeded in reading.
---
**Authoritative source**: BUSMASTER DITA help source `fread.dita`, compiled into `BUSMASTER.CHM` with the application.