Skip to main content

SDL_UnsetEnvironmentVariable

Function SDL_UnsetEnvironmentVariable 

Source
pub unsafe extern "C" fn SDL_UnsetEnvironmentVariable(
    env: *mut SDL_Environment,
    name: *const c_char,
) -> bool
Expand description

Clear a variable from the environment.

Parameter: env the environment to modify. Parameter: name the name of the variable to unset. Returns: true on success or false on failure; call SDL_GetError() for more information.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_GetEnvironment See Also: SDL_CreateEnvironment See Also: SDL_GetEnvironmentVariable See Also: SDL_GetEnvironmentVariables See Also: SDL_SetEnvironmentVariable See Also: SDL_UnsetEnvironmentVariable