SDL_CDNumDrives(3)
β¨ NAME β¨
SDL_CDNumDrives β bestie, it literally just tells you how many CD-ROM drives you got on your system πΏπ
This one's from the SDL API Reference, and yeah, the manual name is right there in the title because that's how manpages do π«Ά
π¦ SYNOPSIS π¦
#include "SDL.h"
int SDL_CDNumDrives(void)
No arguments, no drama. She takes void and she gives you a number. Iconic behaviour honestly π
πΈ DESCRIPTION πΈ
okay so here's the whole thing, and I mean the whole thing because this function is not complicated:
Returns the number of CD-ROM drives on the system.
That's it. That's the function. She counts your CD-ROM drives and hands you back the count as an int, and then she goes back to her business. Lowkey the most chill call in all of SDL π
It's giving "one job and I do it flawlessly." Not me being obsessed with a function that has zero parameters π
fr fr, that is the entire documented behaviour β nothing more, nothing less. Don't go reading extra powers into it, bestie π
π SEE ALSO π
SDL_CDOpenβ the next step when you actually wanna open one of those drives you just counted π
and that's a wrap, my love π this page came straight out of the SDL API reference, dated Tue 11 Sep 2001, 22:58 β yes, an actual vintage. Old but still slaying π β¨ bye bestie, go count some drives π¦
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms