delorie.com/archives/browse.cgi | search |
From: | newsham AT aloha DOT net (Tim Newsham) |
Subject: | how do I get resource limits? |
1 Feb 1997 15:36:51 -0800 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199702012208.MAA23523.cygnus.gnu-win32@haleakala.aloha.net> |
Mime-Version: | 1.0 |
Original-To: | gnu-win32 AT cygnus DOT com |
X-Mailer: | ELM [version 2.4 PL24 PGP3 *ALPHA*] |
Original-Sender: | owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |