Location:
Search - neicunfeipei
Search list
Description: 编写一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间(如size=1000,单位为字节),用循环首次适应法
addr = (char *)lmalloc(unsigned size) 和
lfree(unsigned size,char * addr)模拟可变分区内存管理,实现对该内存区的分配和释放管理。
Platform: |
Size: 1881 |
Author: fy |
Hits:
Description: 编写一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间(如size=1000,单位为字节),用循环首次适应法
addr = (char *)lmalloc(unsigned size) 和
lfree(unsigned size,char * addr)模拟可变分区内存管理,实现对该内存区的分配和释放管理。-The preparation of a C program, using char* malloc (unsigned size) function to the system to apply for a memory space (eg, size = 1000, measured in bytes), with the first cycle to adapt to law addr = (char*) lmalloc (unsigned size) and lfree (unsigned size, char* addr) analog variable partition memory management, realize the memory allocation and release management.
Platform: |
Size: 2048 |
Author: fy |
Hits: