DOKK / manpages / debian 13 / libsdl3-doc / SDL_DestroyEnvironment.3.en
SDL_DestroyEnvironment(3) SDL3 FUNCTIONS SDL_DestroyEnvironment(3)

SDL_DestroyEnvironment - Destroy a set of environment variables.

Defined in SDL3/SDL_stdinc.h

#include "SDL3/SDL.h"
void SDL_DestroyEnvironment(SDL_Environment *env);

the environment to destroy.

It is safe to call this function from any thread, as long as the environment is no longer in use.

This function is available since SDL 3.2.0.

(3), SDL_CreateEnvironment(3)

SDL 3.2.10 Simple Directmedia Layer