OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / madvise.2
index f421078..f70415a 100644 (file)
@@ -32,7 +32,7 @@
 .\" 2011-09-18, Doug Goldstein <cardoe@cardoe.com>
 .\"     Document MADV_HUGEPAGE and MADV_NOHUGEPAGE
 .\"
-.TH MADVISE 2 2012-04-28 "Linux" "Linux Programmer's Manual"
+.TH MADVISE 2 2014-12-31 "Linux" "Linux Programmer's Manual"
 .SH NAME
 madvise \- give advice about use of memory
 .SH SYNOPSIS
@@ -322,6 +322,13 @@ Not enough memory: paging in failed.
 .B ENOMEM
 Addresses in the specified range are not currently
 mapped, or are outside the address space of the process.
+.SH VERSIONS
+Since Linux 3.18,
+.\" commit d3ac21cacc24790eb45d735769f35753f5b56ceb
+support for this system call is optional,
+depending on the setting of the
+.B CONFIG_ADVISE_SYSCALLS
+configuration option.
 .SH CONFORMING TO
 POSIX.1b.
 POSIX.1-2001 describes
@@ -376,12 +383,14 @@ from the system call, as it should).
 .BR mprotect (2),
 .BR msync (2),
 .BR munmap (2),
+.BR prctl (2),
 .BR core (5)
 .SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
 can be found at
 \%http://www.kernel.org/doc/man\-pages/.