check_cpu(3alleg4)
β¨ check_cpu β Allegro manual, but make it cute β¨
okay bestie, welcome to check_cpu(3alleg4) π
this one lives in the Allegro game programming library, and it's honestly a little legend. she's short, she's sweet, she knows what your CPU is. no cap.
πΈ NAME πΈ
check_cpu β detects the CPU type. that's it, that's the whole job. Allegro game programming library represent π«Ά
β¨ SYNOPSIS β¨
#include <allegro.h>
void check_cpu();
like, that's the entire vibe. one include, one function, zero arguments. she takes nothing and she gives you everything π
π¦ DESCRIPTION π¦
so check_cpu() goes and detects the CPU type, and while she's at it she sets the following global variables. yeah. the girl works in mysterious ways and also in global variables, which is very her π
lowkey important: you don't normally need to call this yourself, because allegro_init() will do it for you. it's giving "I already handled it, bestie, relax" π so unless you have a very specific reason, let Allegro do her thing.
π SEE ALSO π
the whole cpu-squad, the girlies, the entourage:
cpu_vendor(3alleg4)cpu_family(3alleg4)cpu_model(3alleg4)cpu_capabilities(3alleg4)allegro_init(3alleg4)
and that's the page, bestie π¦π go forth and let allegro_init() do the CPU detective work for you, main character style. no need to call it yourself, fr fr.
this has beencheck_cpu(3alleg4)from the Allegro manual, version4.4.3, mwah π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms