delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/11/07:00:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 11 Mar 2002 12:59:28 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to find the amount of RAM
Message-ID: <20020311125928.M29574@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <15500 DOT 14147 DOT 671232 DOT 764826 AT localhost DOT localdomain>
Mime-Version: 1.0
In-Reply-To: <15500.14147.671232.764826@localhost.localdomain>
User-Agent: Mutt/1.3.22.1i

On Sun, Mar 10, 2002 at 08:49:07PM -0800, Stephen Weeks wrote:
> 
> Is there a way to find the amount of RAM from within Cygwin?  I
> tried sysconf(_SC_PHYS_PAGES) but that returns -1.  The only other
> thing that I saw was a post on this list
> 
> 	http://sources.redhat.com/ml/cygwin/2001-11/msg00849.html
> 
> but that never received an answer.  Any ideas?  Thanks.

_SC_PHYS_PAGES is only supported on NT/2K/XP.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019