Re: System calls working with /proc/cpuinfo



Alex Vinokur <alexvn@xxxxxxxxxxxxxxxxxxxxx> writes:

On Jul 16, 11:47=A0am, Chris McDonald <ch...@xxxxxxxxxxxxxxx> wrote:
Alex Vinokur <ale...@xxxxxxxxxxxxxxxxxxxxx> writes:
Linux 2.6.18-92.el5
Are there any system calls that enable to get info from /proc/cpuinfo
in C/C++ program?
For instance, processor model, speed, etc.

What about open(), read(), and close() ?

--
Chris.

I meant special system calls.

"Special" system calls?
With luck someone will write the 20 line function for you.

--
Chris.
.



Relevant Pages