mmap64 in ubuntu is symlink to mmap2, but no actual definition of mmap64 in man page (!).
--- mmap2.2.was 2008-12-06 08:55:24.000000000 +0500 +++ mmap2.2 2009-11-11 12:27:26.000000000 +0500 @@ -33,8 +33,12 @@ .nf .B #include <sys/mman.h> .sp +.B /* Linux syscall */ .BI "void *mmap2(void *" addr ", size_t " length ", int " prot , .BI " int " flags ", int " fd ", off_t " pgoffset ); +.sp +.BI "void *mmap64(void *" addr ", size_t " length ", int " prot , +.BI " int " flags ", int " fd ", off64_t " byteoffset ); .fi .SH DESCRIPTION The