coreleft函数

函数名: coreleft   
功 能: 返回未使用内存的大小   
用 法: unsigned coreleft(void);   
程序例:   
#include <stdio.h>   
#include <alloc.h>   
int main(void)   
{
   printf("The difference between the highest allocated block and\n");
   printf("the top of the heap is: %lu bytes\n", (unsigned long) coreleft());
   return 0;   
}
posted @ 2010-12-24 16:16  潜龙9527  阅读(201)  评论(0编辑  收藏  举报