|
楼主 |
发表于 2003-5-15 21:17:56
|
显示全部楼层
CSDN:
内存映射文件。
就是两个不同的系统调用,old_mmap函数就是mmap系统调用的入口,sys_mmap2是mmap2的。
mmap, munmap - map or unmap files or devices into memory The function mmap2 operates in exactly the same way as mmap(2), except that the final argument specifies the offset into the file in units of the system page size (instead of bytes). This enables applications that use a 32-bit off_t to map larger files (typically up to 2^44 bytes). |
|