Name
hw_FRead -- read file data into memory buffer (V5.0)
Synopsis
int read = hw_FRead(APTR handle, APTR buf, ULONG size);
Function
This function reads the specified number of bytes into the memory buffer specified in parameter 2. It returns the number of bytes actually read.
This function is thread-safe.
Designer compatibility
Supported since Designer 4.0
Inputs
handle
file handle returned by
hw_FOpen()
buf
pointer to memory buffer to receive the data read
size
number of bytes to read from file handle
Results
read
number of bytes actually read
Show TOC