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)); }
globle long int MemUsed() { return EnvMemUsed(GetCurrentEnvironment()); }