Reference

check_cpu(3alleg)

Detects the CPU type. Allegro game programming library.

NAME

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

SYNOPSIS

#include <allegro.h>

void check_cpu();

DESCRIPTION

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.

SEE ALSO

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

History