摘要: malloc,free详解Both brk() and mmap() cause pages to be mapped into the process's address space. mmap() can be used to map pages of a file into memory, but it can also be used only to map pages, i.e., allocate memory. brk() is just a specific interface to the VM subsystem which maps pages at a spec 阅读全文
posted @ 2013-05-27 20:41 tangr206 阅读(444) 评论(0) 推荐(0)