GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CPU_FAMILY (3)

NAME

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

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

extern int cpu_family;

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

SEE ALSO

check_cpu(3), cpu_vendor(3), cpu_model(3), cpu_capabilities(3), allegro_init(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro CPU_FAMILY (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.