view docs/man3/SDL_CDEject.3 @ 4386:dcb26ac38e6b SDL-1.2

Fixed crash - need to save and restore rbx around cpuid, since the compiler may be assuming the stack pointer isn't being modified when filling in %0. I did it around each call to cpuid which isn't strictly necessary, but is definitely future proof. :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 02 Dec 2009 16:24:21 +0000
parents 1238da4a7112
children
line wrap: on
line source

.TH "SDL_CDEject" "3" "Tue 11 Sep 2001, 22:58" "SDL" "SDL API Reference" 
.SH "NAME"
SDL_CDEject \- Ejects a CDROM
.SH "SYNOPSIS"
.PP
\fB#include "SDL\&.h"
.sp
\fBint \fBSDL_CDEject\fP\fR(\fBSDL_CD *cdrom\fR);
.SH "DESCRIPTION"
.PP
Ejects the given \fBcdrom\fR\&.
.SH "RETURN VALUE"
.PP
Returns \fB0\fR on success, or \fB-1\fR on an error\&.
.SH "SEE ALSO"
.PP
\fI\fBSDL_CD\fR\fR
.\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:58