Function SDL_WriteS8

pub unsafe extern "C" fn SDL_WriteS8(
    dst: *mut SDL_IOStream,
    value: i8,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Use this function to write a signed byte to an SDL_IOStream.

§Parameters

  • dst: the SDL_IOStream to write to.
  • value: the byte value to write.

§Return value

Returns true on successful write or false on failure; call SDL_GetError() for more information.

§Thread safety

This function is not thread safe.

§Availability

This function is available since SDL 3.2.0.