view docs/man3/SDL_Delay.3 @ 4394:42012a6afb5b SDL-1.2

Merged SDL 1.3 revision 5424, fixing a crash in the joystick code on recent kernels.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 17 Dec 2009 14:33:00 +0000
parents 1238da4a7112
children
line wrap: on
line source

.TH "SDL_Delay" "3" "Tue 11 Sep 2001, 23:01" "SDL" "SDL API Reference" 
.SH "NAME"
SDL_Delay \- Wait a specified number of milliseconds before returning\&.
.SH "SYNOPSIS"
.PP
\fB#include "SDL\&.h"
.sp
\fBvoid \fBSDL_Delay\fP\fR(\fBUint32 ms\fR);
.SH "DESCRIPTION"
.PP
Wait a specified number of milliseconds before returning\&. \fBSDL_Delay\fP will wait at \fIleast\fP the specified time, but possible longer due to OS scheduling\&.
.PP
.RS
\fBNote:  
.PP
Count on a delay granularity of \fIat least\fP 10 ms\&. Some platforms have shorter clock ticks but this is the most common\&.
.RE
.SH "SEE ALSO"
.PP
\fI\fBSDL_AddTimer\fP\fR
.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:01