Re: System calls working with /proc/cpuinfo
- From: Chris McDonald <chris@xxxxxxxxxxxxxxx>
- Date: Thu, 16 Jul 2009 10:32:18 +0000 (UTC)
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.
.
- References:
- System calls working with /proc/cpuinfo
- From: Alex Vinokur
- Re: System calls working with /proc/cpuinfo
- From: Chris McDonald
- Re: System calls working with /proc/cpuinfo
- From: Alex Vinokur
- System calls working with /proc/cpuinfo
- Prev by Date: Re: using network interfaces as raw devices
- Next by Date: Re: System calls working with /proc/cpuinfo
- Previous by thread: Re: System calls working with /proc/cpuinfo
- Next by thread: Re: System calls working with /proc/cpuinfo
- Index(es):
Relevant Pages
|