... mmap映射虚拟内存页 munmap去除内存页映射 mremap重新映射虚拟内存地址 ...
基于303个网页-相关网页
To finish, the originating process calls munmap and shm_unlink , and then exits.
当使用完时,原来的进程调用munmap和shm_unlink,然后退出。
youdao
The munmap subroutine only unmaps regions created from calls to the mmap subroutine.
munmap 子例程只是取消 对 mmap 子例程的调用而创建的区域的映射。
函数说明 munmap()用来取消参数start所指的映射内存起始地址,参数length则是欲取消的内存大小。当进程结束或利用exec相关函数来执行其他程序时,映射内存会自动解除,但关闭对应的文件描述符时不会解除映射。
详细内容
应用推荐
模块上移
模块下移
不移动