int proc_cpu_model_name(int id, char *s);
Name | Description |
---|---|
id | The processor identifier number. Use 0 on systems that have only one processor. |
s | Buffer to put the model name of the processor. |
The common name of the processor, including its project name (eg. AMD Athlon(TM) XP 2200+).
On success, returns the model name length. On error, -1 is returned.
proc_cpu_vendor_id(), proc_cpu_family(), proc_cpu_bogomips(), proc_cpu_model() proc_cpu_cache_size()
INDEX |