DOKK / manpages / debian 10 / allegro4-doc / check_cpu.3alleg4.en
check_cpu(3alleg4) Allegro manual check_cpu(3alleg4)

check_cpu - Detects the CPU type. Allegro game programming library.

#include <allegro.h>

void check_cpu();

Detects the CPU type, setting the following global variables. You don't normally need to call this, because allegro_init() will do it for you.

cpu_vendor(3alleg4), cpu_family(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4)

version 4.4.2 Allegro