Skip to content

TSdlIOStatus

TSdlIOStream status, set by a read or write operation.

Definition

Unit: Neslib.Sdl3.IO

type TSdlIOStatus = (Ready, Error, Eof, NotReady, ReadOnly, WriteOnly)

Enumeration Values

Ready = SDL_IO_STATUS_READY

Everything is ready (no errors and not EOF).


Error = SDL_IO_STATUS_ERROR

Read or write I/O error


Eof = SDL_IO_STATUS_EOF

End of file


NotReady = SDL_IO_STATUS_NOT_READY

Non blocking I/O, not ready


ReadOnly = SDL_IO_STATUS_READONLY

Tried to write a read-only buffer


WriteOnly = SDL_IO_STATUS_WRITEONLY

Tried to read a write-only buffer