SDL_GetTicks man page

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

Info

Tue 11 Sep 2001, 23:01 SDL SDL API Reference