Read up to size bytes from the data stream to the area pointed at by ptr.
On an incomplete read, you should set *status to a value from the SDL_IOStatus enum. You do not have to explicitly set this on a complete, successful read.
The number of bytes read
See Implementation
Read up to size bytes from the data stream to the area pointed at by ptr.
On an incomplete read, you should set *status to a value from the SDL_IOStatus enum. You do not have to explicitly set this on a complete, successful read.