TAP_Hdd_Fread

Topfield Documentation

dword TAP_Hdd_Fread(void *buf, dword blksize, dword blk, TYPE_File *fp);

It reads blk elements of blksize bytes each from the file specified by fp into the buffer specified by buf.

  • buf : pointer of the buffer for reading.
  • blksize : the data size per block.
  • blk : the number of block to be read.
  • fp : pointer to the object controlling the file.
Total reading bytes = blksize * blk

Additional Documentation

The return value is the number of read blocks.