Пример #1
0
globle long int MemUsedCommand(
    void *theEnv)
{
    /*=============================================*/
    /* The mem-used function accepts no arguments. */
    /*=============================================*/

    if (EnvArgCountCheck(theEnv,"mem-used",EXACTLY,0) == -1) return(0);

    /*============================================*/
    /* Return the amount of memory currently held */
    /* (both for current use and for later use).  */
    /*============================================*/

    return(EnvMemUsed(theEnv));
}
Пример #2
0
globle long int MemUsed()
  {
   return EnvMemUsed(GetCurrentEnvironment());
  }