版权所有 © 2014 tutorialspoint
#include <sys/mman.h> void *mmap2(void *start, size_t length, int prot, int flags, int fd, off_t pgoffset);
void *mmap2(void *start, size_t length, int prot, int flags, int fd, off_t pgoffset);
mmap2() 自 Linux 2.3.31 起可用。它是 Linux 特定的,应避免在可移植的应用程序中使用。在 32 位系统上,mmap2() 用于实现 mmap64() 函数,该函数是 LFS(大型文件峰会)的一部分。
getpagesize (2)
mmap (2)
mremap (2)
msync (2)
广告