Function SDL_tolower

pub unsafe extern "C" fn SDL_tolower(x: i32) -> i32
Available on crate feature dep_sdl3 only.
Expand description

Convert low-ASCII English letters to lowercase.

WARNING: Regardless of system locale, this will only convert ASCII values ‘A’ through ‘Z’ to lowercase.

This function returns the lowercase equivalent of x. If a character cannot be converted, or is already lowercase, this function returns x.

§Parameters

  • x: character value to check.

§Return value

Returns lowercase version of x, or x if no conversion available.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.