int written = hw_FWrite(APTR handle, APTR buf, ULONG size);
Function
This function writes the specified number of bytes from the memory
buffer specified in parameter 2 to the file handle passed in parameter 1.
It returns the number of bytes actually written.