mmap函数及其映射失败缘由分析

mmap函数函数 头文件:#include <sys/mman.h>性能 函数原型:void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset);spa 参数  start:映射区的开始地址,设置为0时表示由系统决定映射区的起始地址。   length:映射区的长度。   prot:指望的内存保护
相关文章
相关标签/搜索