[patch] mmap2.2: add definition of mmap64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux