hw_FRead -- read file data into memory buffer (V5.0)
int read = hw_FRead(APTR handle, APTR buf, ULONG size);
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.
Supported since Designer 4.0
file handle returned by
pointer to memory buffer to receive the data read
number of bytes to read from file handle
number of bytes actually read