check_cpu(3)
β¨ check_cpu(3) β the Allegro manual, but make it cute β¨
okay so we're in the Allegro manual, and today's main character is check_cpu. she's a lil function, she's lowkey iconic, and she has ONE job. let's get into it bestie π«Ά
πΈ NAME πΈ
check_cpu β she detects the CPU type. π
Allegro game programming library, no cap.
π¦ SYNOPSIS π¦
#include <allegro.h>
void check_cpu();
like. that's it. that's the whole vibe. void, no args, no return value, just pure aura β¨
π DESCRIPTION π
So what does she actually do? check_cpu detects the CPU type and sets a bunch of global variables with whatever she finds out. πβ¨
bestie listen: you don't normally need to call this yourself, because allegro_init() already does it for you. she's got you. let her cook. π
it's giving "the intern who already did the task before you asked." obsessed. π
π SEE ALSO π
cpu_vendor(3)β who made your CPU, basically the birth certificate π§cpu_family(3)β which family she belongs to, family tree energy πcpu_model(3)β the specific model, her government name πcpu_capabilities(3)β what she can actually do, the talent show π₯allegro_init(3)β the one who callscheck_cpufor you, the responsible friend π
and that's the whole page, bestie!! π this was Allegro, version 4.4.3 β Allegro version 4.4.3, check_cpu(3), periodt. slay, stay compiled, and don't call functions that already called themselves β¨ππ
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms