Mercurial > sdl-ios-xcode
annotate docs/man3/SDL_GetThreadID.3 @ 1030:6b8f0543337c
Date: Sat, 15 Jan 2005 15:06:01 -0600
From: Tyler Montbriand
Subject: [SDL] minor bugfix for test/testoverlay2.c
Programs that use malloc ought to #include <stdlib.h> . On 32-bit systems you
can get away with not including it, but on 64-bit systems it will assume
malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 18 Jan 2005 18:32:10 +0000 |
parents | e5bc29de3f0a |
children | 546f7c1eb755 |
rev | line source |
---|---|
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
1 .TH "SDL_GetThreadID" "3" "Tue 11 Sep 2001, 23:00" "SDL" "SDL API Reference" |
0 | 2 .SH "NAME" |
3 SDL_GetThreadID\- Get the SDL thread ID of a SDL_Thread | |
4 .SH "SYNOPSIS" | |
5 .PP | |
6 \fB#include "SDL\&.h" | |
7 #include "SDL_thread\&.h" | |
8 .sp | |
9 \fBUint32 \fBSDL_GetThreadID\fP\fR(\fBSDL_Thread *thread\fR); | |
10 .SH "DESCRIPTION" | |
11 .PP | |
12 Returns the ID of a \fBSDL_Thread\fR created by \fISDL_CreateThread\fR\&. | |
13 .SH "SEE ALSO" | |
14 .PP | |
15 \fISDL_CreateThread\fR | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
16 ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 23:00 |