mirror of https://github.com/mkerrisk/man-pages
removed stray #endif; formatting fix
This commit is contained in:
parent
3d3886497f
commit
3b85198195
|
@ -24,6 +24,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Modified 31 Jan 2002, Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 31 Jan 2002, Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" Added description of mmap2
|
.\" 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"
|
.TH MMAP2 2 2002-01-31 "Linux 2.3.31" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -38,8 +39,6 @@ mmap2 \- map files or devices into memory
|
||||||
.sp
|
.sp
|
||||||
.BI "void * mmap2(void *" start ", size_t " length ", int " prot ,
|
.BI "void * mmap2(void *" start ", size_t " length ", int " prot ,
|
||||||
.BI "int " flags ", int " fd ", off_t " pgoffset );
|
.BI "int " flags ", int " fd ", off_t " pgoffset );
|
||||||
.sp
|
|
||||||
.B #endif
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
.B mmap2
|
.B mmap2
|
||||||
|
@ -47,7 +46,9 @@ operates in exactly the same way as
|
||||||
.BR mmap (2),
|
.BR mmap (2),
|
||||||
except that the final argument specifies the offset into the
|
except that the final argument specifies the offset into the
|
||||||
file in units of the system page size (instead of bytes).
|
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).
|
larger files (typically up to 2^44 bytes).
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
On success,
|
On success,
|
||||||
|
|
Loading…
Reference in New Issue