From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7315 invoked by alias); 13 Jul 2002 15:00:26 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 7177 invoked from network); 13 Jul 2002 15:00:21 -0000 Received: from unknown (HELO esperi.demon.co.uk) (194.222.138.8) by sources.redhat.com with SMTP; 13 Jul 2002 15:00:21 -0000 Received: from amaterasu.srvr.nix (0@amaterasu.srvr.nix [192.168.1.14]) by esperi.demon.co.uk (8.11.6/8.11.6) with ESMTP id g6DEZ8g18808; Sat, 13 Jul 2002 15:35:08 +0100 Received: (from nix@localhost) by amaterasu.srvr.nix (8.11.6/8.11.4) id g6DEZ7k06501; Sat, 13 Jul 2002 15:35:07 +0100 To: Cong Cc: gcc-help@gcc.gnu.org Subject: Re: how to get the number of CPUs? References: <616BE6A276E3714788D2AC35C40CD18D5EC4E6@whale.softwire.co.uk> <20020707.132410.39168269.vo.chi.cong@is.titech.ac.jp> X-Emacs: or perhaps you'd prefer Russian Roulette, after all? From: Nix Date: Sat, 13 Jul 2002 08:00:00 -0000 In-Reply-To: <20020707.132410.39168269.vo.chi.cong@is.titech.ac.jp> Message-ID: <87adovr90l.fsf@amaterasu.srvr.nix> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Informed Management (RC1)) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00122.txt.bz2 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 , 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