Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix volatile manual

This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.

SDL_Delay(3) SDL API Reference SDL_Delay(3)

NAME

SDL_Delay - Wait a specified number of milliseconds before returning.

SYNOPSIS

#include "SDL.h"
 
void SDL_Delay(Uint32 ms);

DESCRIPTION

Wait a specified number of milliseconds before returning. SDL_Delay will wait at least the specified time, but possible longer due to OS scheduling.
Note:
Count on a delay granularity of at least 10 ms. Some platforms have shorter clock ticks but this is the most common.

SEE ALSO

SDL_AddTimer
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