SDL_getenv_unsafe - Get the value of a variable in the environment.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This function bypasses SDL's cached copy of the environment and is not thread-safe.
Function Parameters
name the name of the variable to get.
Header File
Defined in SDL3/SDL_stdinc.h
Name
SDL_getenv_unsafe - Get the value of a variable in the environment.
Return Value
Returns a pointer to the value of the variable or NULL if it can't be found.
See Also
•(3), SDL_getenv(3) Simple Directmedia Layer SDL 3.2.10 SDL_getenv_unsafe(3)
Synopsis
#include"SDL3/SDL.h"constchar*SDL_getenv_unsafe(constchar*name);
Thread Safety
This function is not thread safe, consider using SDL_getenv () instead.
