OSDN Git Service

(split) LDP: Update original to LDP v3.63
[linuxjm/LDP_man-pages.git] / original / man2 / mmap2.2
index 7176471..63a89ea 100644 (file)
@@ -26,7 +26,7 @@
 .\"    Added description of mmap2
 .\" Modified, 2004-11-25, mtk -- removed stray #endif in prototype
 .\"
-.TH MMAP2 2 2012-04-16 "Linux" "Linux Programmer's Manual"
+.TH MMAP2 2 2014-02-25 "Linux" "Linux Programmer's Manual"
 .SH NAME
 mmap2 \- map files or devices into memory
 .SH SYNOPSIS
@@ -55,7 +55,7 @@ to map large files (up to 2^44 bytes).
 On success,
 .BR mmap2 ()
 returns a pointer to the mapped area.
-On error \-1 is returned and
+On error, \-1 is returned and
 .I errno
 is set appropriately.
 .SH ERRORS
@@ -77,12 +77,15 @@ is available since Linux 2.3.31.
 .SH CONFORMING TO
 This system call is Linux-specific.
 .SH NOTES
-Nowadays, the glibc
+On architectures where this system call is present,
+the glibc
 .BR mmap ()
 wrapper function invokes this system call rather than the
 .BR mmap (2)
 system call.
 
+This system call does not exist on x86-64.
+
 On ia64, the unit for
 .I offset
 is actually the system page size, rather than 4096 bytes.