SDL_GetCurrentTime - Gets the current value of the system realtime clock in nanoseconds since Jan 1, 1970
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_GetCurrentTime(3)
Function Parameters
ticks the SDL_Time
to hold the returned tick count.
Header File
Defined in SDL3/SDL_time.h
Name
SDL_GetCurrentTime - Gets the current value of the system realtime clock in nanoseconds since Jan 1, 1970
in Universal Coordinated Time (UTC).
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
Synopsis
#include"SDL3/SDL.h"boolSDL_GetCurrentTime(SDL_Time*ticks);
