how do I get resource limits?

Tim Newsham newsham@aloha.net
Sat Feb 1 14:08:00 GMT 1997


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".



More information about the Cygwin mailing list