欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

coreleft函数

发布时间:2023/12/2 49 豆豆
生活随笔 收集整理的这篇文章主要介绍了 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;   
}

转载于:https://www.cnblogs.com/eagleking0318/archive/2010/12/24/6521311.html

创作挑战赛新人创作奖励来咯,坚持创作打卡瓜分现金大奖

总结

以上是生活随笔为你收集整理的coreleft函数的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。