logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_unsetenv_unsafe - Clear a variable from the environment.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

name   the name of the variable to unset.

Header File

       Defined in SDL3/SDL_stdinc.h

Name

       SDL_unsetenv_unsafe - Clear a variable from the environment.

Return Value

       Returns 0 on success, -1 on error.

See Also

(3), SDL_UnsetEnvironmentVariable(3)

Simple Directmedia Layer                           SDL 3.2.10                             SDL_unsetenv_unsafe(3)

Synopsis

#include"SDL3/SDL.h"intSDL_unsetenv_unsafe(constchar*name);

Thread Safety

       This function is not thread safe, consider using

       SDL_UnsetEnvironmentVariable () instead.

See Also