Date: Fri, 9 Jul 1993 17:03:08 -0600 From: jweiss AT silver DOT sdsmt DOT edu (John M. Weiss) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: available memory Cc: jweiss AT silver DOT sdsmt DOT edu Does anyone know how to query the amount of available physical RAM using gcc? Turbo C provides the coreleft() routine, but this is not part of the standard C libraries. I seem to remember seeing some code that made use of brk/sbrk to do this once upon a time... Thanks in advance - JW Dr. John M. Weiss, Associate Professor Department of Mathematics and Computer Science South Dakota School of Mines and Technology 501 East St. Joseph Street Rapid City, SD 57701-3995 605-394-6145 jweiss AT silver DOT sdsmt DOT edu