diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-01-15 20:47:36 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2006-01-15 20:47:36 +0000 |
commit | ed645f876285f37c933d8db535fad41fbbf9641a (patch) | |
tree | a44f786385b740975ea883e5a5c5c51a40cc61bd | |
parent | cd6d114a27fc2f0290177519988b778b0eb64b4a (diff) |
Clarify relationship between mmap2(2) and mmap64(3)
A few other small rewordings.
-rw-r--r-- | man2/mmap2.2 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/man2/mmap2.2 b/man2/mmap2.2 index 4cbd147be..734f47534 100644 --- a/man2/mmap2.2 +++ b/man2/mmap2.2 @@ -42,9 +42,9 @@ mmap2 \- map files or devices into memory .BI "void * mmap2(void *" start ", size_t " length ", int " prot , .BI "int " flags ", int " fd ", off_t " pgoffset ); .SH DESCRIPTION -The function +The .BR mmap2 () -operates in exactly the same way as +system call operates in exactly the same way as .BR mmap (2), except that the final argument specifies the offset into the file in units of the system page size (instead of bytes). @@ -65,11 +65,12 @@ is set appropriately. Problem with getting the data from userspace. .SH NOTES -The function .BR mmap2 () is available since Linux 2.3.31. It is Linux specific, and should be avoided in portable applications. -See also the +On 32-bit systems, +.BR mmap2 () +is used to implement the .BR mmap64 () function that is part of the LFS (Large File Summit). .SH "SEE ALSO" |