int read = FRead(APTR handle, APTR buf, int size);
Function
This function has to read the specified number of bytes into the memory
buffer specified in parameter 2. It has to return the number of bytes
actually read.
This function must be implemented in a thread-safe manner.