Tao.Sdl SDK Documentation

Sdl.SDL_getenv Method 

Retrieves a variable from the environment.

[Visual Basic]
Public Shared Function SDL_getenv( _
   ByVal name As String _
) As String
[C#]
public static string SDL_getenv(
   string name
);

Parameters

name
The name of the environmental variable to retrieve.

Return Value

The value of the specified environmental variable.

Remarks

Not all environments have a working getenv(). SDL_getenv() is not available on Windows.

Binds to C-function call in SDL_getenv.h:

extern DECLSPEC char * SDLCALL SDL_getenv(const char *name)

See Also

Sdl Class | Tao.Sdl Namespace | SDL_putenv