pods::SDL::CDROM(3pm)
πΏ NAME
SDL::CDROM -- SDL Bindings for the CDROM device. This is the pods::SDL::CDROM(3pm) page from the User Contributed Perl Documentation, and it is literally right here to explain the CDROM vibes. π
β¨
π·οΈ CATEGORY
Core, CDROM. That is the category list, bestie β both of them. π
π SYNOPSIS
Okay so here is the whole little setup sequence, exactly as written:
use SDL ':init';
use SDL::CDROM;
SDL::init(SDL_INIT_CDROM);
print SDL::CDROM::num_drives();
print SDL::CDROM::name(0);
SDL::quit();
π§ METHODS
πΏ num_drives
my $drives = SDL::CDROM::num_drives();
Returns number of drives available on the system. That is the whole mood: you call it, it gives you the drive count. π«Ά
πΈ name
my $drive_name = SDL::CDROM::name($drive_num);
Returns human readable name for CDROM device. So you hand over the drive number and get a name that actually reads like something. Iconic. π
π Examples
'/dev/cdrom''E:''/dev/disk/ide/1/master'
π See Also
SDL::CD, SDL::CDTrack β go peek at those too, iykyk. π¦
π AUTHORS
See "AUTHORS" in SDL.
mwah π β signed off by perl v5.42.0, dated 2024-05-01, on the pods::SDL::CDROM(3pm) page. π
π¦ where this page comes from
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms