Scroll to navigation

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