proc_cpu_model_name()

The common name of the processor

Syntax:

int proc_cpu_model_name(int id, char *s);

Arguments:

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.

Description:

The common name of the processor, including its project name (eg. AMD Athlon(TM) XP 2200+).

Return Values:

On success, returns the model name length. On error, -1 is returned.

See Also:

proc_cpu_vendor_id(), proc_cpu_family(), proc_cpu_bogomips(), proc_cpu_model() proc_cpu_cache_size()



INDEX