int proc_cpu_family(int id);
Name | Description |
---|---|
id | The processor identifier number. Use 0 on systems that have only one processor. |
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.
On success, returns a identifier of family of the processor. On error, -1 is returned.
proc_cpu_vendor_id(), proc_cpu_mhz(), proc_cpu_bogomips() proc_cpu_model(), proc_cpu_model_name(), proc_cpu_cache_size()
INDEX |