proc_cpu_family()

Family of the processor

Syntax:

int proc_cpu_family(int id);

Arguments:

Name Description
id The processor identifier number. Use 0 on systems that have only one processor.

Description:

Authoritatively identifies the type of processor you have in the system. For an Intel-based system, place the number in front of "86" to determine the value. This is particularly helpful for those attempting to identify the architecture of an older system such as a 586, 486, or 386.

Return Values:

On success, returns a identifier of family of the processor. On error, -1 is returned.

See Also:

proc_cpu_vendor_id(), proc_cpu_mhz(), proc_cpu_bogomips() proc_cpu_model(), proc_cpu_model_name(), proc_cpu_cache_size()



INDEX