cpu_vendor(3) Contains the CPU vendor name. Allegro game programming library.


#include <allegro.h>

extern char cpu_vendor[];


On Intel PCs, contains the CPU vendor name if known. On Mac OSX systems this contains the PPC subtype name. On other platforms, this may be an empty string. You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()).