> C function which returns the number of CPUs in the system?  I know I
> could parse out /proc/cpuinfo or some of the other proc guys, but
> a nice function would be simpler.

Use glibc 2.1 and you can use sysconf() to read it out (yes sysconf parses
/proc in Linux no you dont have to care 8))
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to