OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man2 / remap_file_pages.2
index 9610fdc..fb73d7a 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (C) 2003, Michael Kerrisk (mtk.manpages@gmail.com)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" 2003-12-10 Initial creation, Michael Kerrisk <mtk.manpages@gmail.com>
 .\" 2004-10-28 aeb, corrected prototype, prot must be 0
@@ -28,7 +30,7 @@
 remap_file_pages \- create a nonlinear file mapping
 .SH SYNOPSIS
 .nf
-.B #define _GNU_SOURCE
+.BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <sys/mman.h>
 .sp
 .BI "int remap_file_pages(void *" addr ", size_t " size ", int " prot ,
@@ -119,7 +121,7 @@ argument has the same meaning as for
 but all flags other than
 .B MAP_NONBLOCK
 are ignored.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success,
 .BR remap_file_pages ()
 returns 0.
@@ -148,15 +150,22 @@ The
 .BR remap_file_pages ()
 system call appeared in Linux 2.5.46;
 glibc support was added in version 2.3.3.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 The
 .BR remap_file_pages ()
 system call is Linux-specific.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getpagesize (2),
 .BR mmap (2),
 .BR mmap2 (2),
 .BR mprotect (2),
 .BR mremap (2),
-.BR msync (2),
-.BR feature_test_macros (7)
+.BR msync (2)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.