Function SDL_unsetenv_unsafe
pub unsafe extern "C" fn SDL_unsetenv_unsafe(name: *const i8) -> i32
Available on crate feature
dep_sdl3
only.Expand description
Clear a variable from the environment.
§Parameters
name
: the name of the variable to unset.
§Return value
Returns 0 on success, -1 on error.
§Thread safety
This function is not thread safe, consider using
SDL_UnsetEnvironmentVariable()
instead.
§Availability
This function is available since SDL 3.2.0.