This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
how do I get resource limits?
- To: gnu-win32 at cygnus dot com
- Subject: how do I get resource limits?
- From: Tim Newsham <newsham at aloha dot net>
- Date: Sat, 1 Feb 1997 12:08:44 -1000 (HST)
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".