---
name: "cpu_vendor"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/cpu_vendor"
---

# cpu\_vendor(3alleg)

Contains the CPU vendor name. Allegro game programming library.

## NAME

cpu\_vendor - Contains the CPU vendor name. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**extern char cpu\_vendor\[\];**

## DESCRIPTION

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()).

## SEE ALSO

[**check\_cpu**(3alleg)](/check_cpu/3alleg.md), [**cpu\_family**(3alleg)](/cpu_family/3alleg.md), [**cpu\_model**(3alleg)](/cpu_model/3alleg.md), [**cpu\_capabilities**(3alleg)](/cpu_capabilities/3alleg.md), [**allegro\_init**(3alleg)](/allegro_init/3alleg.md)
