diff --git a/man2/mmap2.2 b/man2/mmap2.2 index 35d5201e1..53d49e699 100644 --- a/man2/mmap2.2 +++ b/man2/mmap2.2 @@ -24,6 +24,7 @@ .\" .\" Modified 31 Jan 2002, Michael Kerrisk .\" Added description of mmap2 +.\" Modified, 2004-11-25, mtk -- removed stray #endif in prototype .\" .TH MMAP2 2 2002-01-31 "Linux 2.3.31" "Linux Programmer's Manual" .SH NAME @@ -38,8 +39,6 @@ mmap2 \- map files or devices into memory .sp .BI "void * mmap2(void *" start ", size_t " length ", int " prot , .BI "int " flags ", int " fd ", off_t " pgoffset ); -.sp -.B #endif .SH DESCRIPTION The function .B mmap2 @@ -47,7 +46,9 @@ 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). -This enables applications that use a 32-bit off_t to map +This enables applications that use a 32-bit +. I off_t +to map larger files (typically up to 2^44 bytes). .SH "RETURN VALUE" On success,