Mercurial > sdl-ios-xcode
view docs/man3/SDL_GetError.3 @ 1156:8521404a33c7
Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST)
From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] Use nanosleep on OS X
Hi,
The current version of SDL_Delay on OS X seems to always sleep at least 10
msec. OS X has nanosleep(), which performs shorter sleeps well. The
attached patch makes it use that one instead of select() as currently.
// Martin
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 11 Oct 2005 17:33:03 +0000 |
parents | e5bc29de3f0a |
children | 546f7c1eb755 |
line wrap: on
line source
.TH "SDL_GetError" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" .SH "NAME" SDL_GetError\- Get SDL error string .SH "SYNOPSIS" .PP \fB#include "SDL/SDL\&.h" .sp \fBchar *\fBSDL_GetError\fP\fR(\fBvoid\fR); .SH "DESCRIPTION" .PP \fBSDL_GetError\fP returns a NULL terminated string containing information about the last internal SDL error\&. .SH "RETURN VALUE" .PP \fBSDL_GetError\fP returns a string containing the last error\&. ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00