...组织方式13.2.2 堆与栈13.3 分配内存函数(malloc和calloc)13.3.1 malloc函数13.3.2 calloc函数13.4 修改已分配内存(realloc函数)13.5 释放内存——free函数13.6 谁偷了我的内存13.7 实战13.7.1 为具有3个元素的数组分配内存13.7.2 为二维数组动态分配内存...
基于14个网页-相关网页
It does not implement many of the other memory functions, such as realloc .
它没有实现很多其他的内存函数,比如realloc 。
The malloc , free and realloc routines should be as fast as possible in the average case.
malloc free和realloc例程在平均情况下应该尽可能的快。
For the oddest example, some early versions of Unix allocators allowed programmers to realloc memory that had already been freed.
举个最奇怪的例子,一些早期版本的Unix分配器允许程序员realloc已经被释放了的内存。
应用推荐