|
NAMESDL::CDROM -- SDL Bindings for the CDROM deviceCATEGORYCore, CDROMSYNOPSISuse SDL ':init'; use SDL::CDROM; SDL::init(SDL_INIT_CDROM); print SDL::CDROM::num_drives(); print SDL::CDROM::name(0); SDL::quit(); METHODSnum_drivesmy $drives = SDL::CDROM::num_drives(); Returns number of drives available on the system namemy $drive_name = SDL::CDROM::name($drive_num); Returns human readable name for CDROM device Examples:
See AlsoSDL::CD, SDL::CDTrackAUTHORSSee "AUTHORS" in SDL.
Visit the GSP FreeBSD Man Page Interface. |