SDL_IOStatus

SDL_IOStream status, set by a read or write operation.

Values

ValueMeaning
SDL_IO_STATUS_READY

Everything is ready (no errors and not EOF).

SDL_IO_STATUS_ERROR

Read or write I/O error

SDL_IO_STATUS_EOF

End of file

SDL_IO_STATUS_NOT_READY

Non blocking I/O, not ready

SDL_IO_STATUS_READONLY

Tried to write a read-only buffer

SDL_IO_STATUS_WRITEONLY

Tried to read a write-only buffer

Meta