Man page - sdl_getticks(3)

Packages contas this manual

Manual

SDL_GetTicks(3) SDL3 FUNCTIONS SDL_GetTicks(3)

SDL_GetTicks - Get the number of milliseconds since SDL library initialization.

Defined in SDL3/SDL_timer.h

#include "SDL3/SDL.h"
Uint64 SDL_GetTicks(void);

( Uint64 ) Returns an unsigned 64-bit value representing the number of milliseconds since the SDL library initialized.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer