]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/remap_file_pages.2
intro.1, _exit.2, access.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bind.2, chdir...
[thirdparty/man-pages.git] / man2 / remap_file_pages.2
index 9610fdc22f04f0951fcc0ad6fe0c8d375532745e..2a7bb3ed2f300c6eebf559f20eab2c3ccf2a89c2 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,14 @@ 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)