Scroll to navigation

SDL_GetHint(3) SDL3 FUNCTIONS SDL_GetHint(3)

NAME

SDL_GetHint - Get the value of a hint.

SYNOPSIS

#include <SDL3/SDL_hints.h>
const char* SDL_GetHint(const char *name);

FUNCTION PARAMETERS

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)

SDL 3.3.0 Simple Directmedia Layer