SDL_GetHint - Man Page

Get the value of a hint.

Synopsis

#include <SDL3/SDL_hints.h>

const char* SDL_GetHint(const char *name);

Function Parameters

name

the hint to query.

Return Value

Returns the string value of a hint or NULL if the hint isn't set.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_SetHint(3), SDL_SetHintWithPriority(3)

Referenced By

SDL_GetHintBoolean(3), SDL_SetHint(3), SDL_SetHintWithPriority(3).

SDL 3.3.2 Simple Directmedia Layer SDL3 FUNCTIONS