Man page - sdl_getcursor(3)
Packages contains this manual
Manual
SDL_GetCursor
NAMEHEADER FILE
SYNOPSIS
DESCRIPTION
RETURN VALUE
THREAD SAFETY
AVAILABILITY
SEE ALSO
NAME
SDL_GetCursor - Get the active cursor.
HEADER FILE
Defined in SDL3/SDL_mouse.h
SYNOPSIS
#include "SDL3/SDL.h"
SDL_Cursor * SDL_GetCursor(void);
DESCRIPTION
This function returns a pointer to the current cursor which is owned by the library. It is not necessary to free the cursor with
SDL_DestroyCursor ().
RETURN VALUE
(
SDL_Cursor
*) Returns the active cursor or NULL if there is no
mouse.
THREAD SAFETY
This function should only be called on the main thread.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
• (3), SDL_SetCursor (3)