Re: system call for finding the number of cpus??

Nicholas Miell (nmiell@attbi.com)
08 Apr 2002 18:12:41 -0700


On Mon, 2002-04-08 at 14:58, J.A. Magallon wrote:
> >sysconf(_SC_NPROCESSORS_CONF);
> >
>
> I din't really trusted you, so digged inside includes till bits/confname.h
> Why the h*ll the manpage about sysconf does not talk about that ?????
>

For some odd reason, the FSF doesn't like man pages. If you read the
info documentation for glibc, you'll find the _SC_NPROCESSORS_CONF
property listed in the "libc : System Configuration : Sysconf :
Constants for Sysconf" page. The man pages tend to lag behind the actual
info documentation, because they are maintained seperately.

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