Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_CDName(3) SDL API Reference SDL_CDName(3)

NAME

SDL_CDName - Returns a human-readable, system-dependent identifier for the CD-ROM.

SYNOPSIS

#include "SDL.h"
 
const char *SDL_CDName(int drive);

DESCRIPTION

Returns a human-readable, system-dependent identifier for the CD-ROM. drive is the index of the drive. Drive indices start to 0 and end at SDL_CDNumDrives()-1.

EXAMPLES

•
"/dev/cdrom"
•
"E:"
•
"/dev/disk/ide/1/master"

SEE ALSO

SDL_CDNumDrives
Tue 11 Sep 2001, 22:58 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