coreleft函数
生活随笔
收集整理的這篇文章主要介紹了
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;
}
功 能: 返回未使用內存的大小
用 法: 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;
}
轉載于:https://www.cnblogs.com/eagleking0318/archive/2010/12/24/6521311.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的coreleft函数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 将Android源码集成到Eclipse
- 下一篇: 口碑网发布2010吃住玩消费风向指数