Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_GetTicks(3) SDL API Reference SDL_GetTicks(3)

NAME

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

SYNOPSIS

#include "SDL.h"
 
Uint32 SDL_GetTicks(void)

DESCRIPTION

Get the number of milliseconds since the SDL library initialization. Note that this value wraps if the program runs for more than ~49 days.

SEE ALSO

SDL_Delay
Tue 11 Sep 2001, 23:01 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org