This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to get the number of CPUs?
On Sun, 7 Jul 2002, Cong yowled:
> Thank you, your code works for me!
>
> But, when I do man sysconf on Linux, it show no infomation
> about _SC_NPROCESSORS_CONF as manpage on Solaris do. However, looking
> at <unistd.h>, they're there!
The manpage is not the canonical information source for the GNU C
library.
Try `info libc processor resources', or
`info libc --index-search=_SC_NPROCESSORS_CONF'.
--
`There's something satisfying about killing JWZ over and over again.'
-- 1i, personal communication