SDL_unsetenv_unsafe3
Clear a variable from the environment.
Usage
#include "SDL3/SDL.h"
int SDL_unsetenv_unsafe(const char *name);
Header file
Defined in SDL3/SDL_stdinc.h
Function 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.