lkml.org 
[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: REQUEST for /proc/cpuinfo copies & a baby bugbear :o(
Date
From
In message <Pine.LNX.4.04.9809212140320.196-100000@tahallah.demon.co.uk>, 
Alex
Buell writes:
+-----
| Yeah. Since someone has told me it is possible to retrieve the information
| by making syscalls to the kernel, I think this is the safest and most
| compatible way to go. Anyone care to give me clues or resources where I
| can read up on? I really don't want to depend on the /proc/cpuinfo file
| really.
+--->8

I thought the whole point of /proc was to provide an easy-to-use interface
to kernel-resident information... and gratuitously per-systype /proc stuff
smacks of the SVR4 /proc implementation (although not quite as bad because
it's still text).

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.085 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site