From: newsham@aloha.net (Tim Newsham)
Subject: how do I get resource limits?
1 Feb 1997 15:36:51 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199702012208.MAA23523.cygnus.gnu-win32@haleakala.aloha.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Original-To: gnu-win32@cygnus.com
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Original-Sender: owner-gnu-win32@cygnus.com


Hi,

   I would like to get some sort of aproximation of the amount
of free memory available.  In UNIX I could do:

    struct rlimit lims;

    getrlimit(RLIMIT_DATA, &lims);
    return lims.rlim_cur;

but cygwin does not support the getrlimit() call.  Does NT
support some way of getting this sort of information?

                                         Tim N.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
