logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cpu_family - Contains the CPU type. Allegro game programming library.

Description

       Contains the Intel type, where applicable. Allegro defines the following CPU family types:

          CPU_FAMILY_UNKNOWN  - The type of processor is unknown
          CPU_FAMILY_I386     - The processor is an Intel-compatible 386
          CPU_FAMILY_I486     - The processor is an Intel-compatible 486
          CPU_FAMILY_I586     - The processor is a Pentium or equivalent
          CPU_FAMILY_I686     - The processor is a Pentium Pro, II, III
                                or equivalent
          CPU_FAMILY_ITANIUM  - The processor is an Itanium processor
          CPU_FAMILY_POWERPC  - The processor is a PowerPC processor
          CPU_FAMILY_EXTENDED - The processor type needs to be read
                                from the cpu_model

       You  can  read  this  variable  after  you  have  called  check_cpu()  (which  is automatically called by
       allegro_init()).

Name

       cpu_family - Contains the CPU type. Allegro game programming library.

See Also

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

Allegro                                           version 4.4.3                              cpu_family(3alleg4)

Synopsis

#include<allegro.h>externintcpu_family;

See Also