SDL_SetEnvironmentVariable
Set the value of a variable in the environment.
- Provided by: libsdl3-doc (Version: 3.2.20+ds-2)
- Source: libsdl3
- Report a bug
Set the value of a variable in the environment.
#include <SDL3/SDL_stdinc.h>
bool SDL_SetEnvironmentVariable(SDL_Environment *env, const char *name, const char *value, bool overwrite);
for more information.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.
SDL_GetEnvironment(3), SDL_CreateEnvironment(3), SDL_GetEnvironmentVariable(3), SDL_GetEnvironmentVariables(3), SDL_UnsetEnvironmentVariable(3)