summaryrefslogtreecommitdiffstats
path: root/man3/posix_madvise.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/posix_madvise.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/posix_madvise.3 b/man3/posix_madvise.3
index 25ab37d..440feb4 100644
--- a/man3/posix_madvise.3
+++ b/man3/posix_madvise.3
@@ -2,7 +2,7 @@
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
-.TH posix_madvise 3 2023-03-30 "Linux man-pages 6.05.01"
+.TH posix_madvise 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
posix_madvise \- give advice about patterns of memory usage
.SH LIBRARY
@@ -11,15 +11,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <sys/mman.h>
-.PP
+.P
.BI "int posix_madvise(void " addr [. len "], size_t " len ", int " advice );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR posix_madvise ():
.nf
_POSIX_C_SOURCE >= 200112L
@@ -37,7 +37,7 @@ The system is free to use this advice in order to improve the performance
of memory accesses (or to ignore the advice altogether), but calling
.BR posix_madvise ()
shall not affect the semantics of access to memory in the specified range.
-.PP
+.P
The
.I advice
argument is one of the following:
@@ -92,7 +92,7 @@ is 0.
On Linux, specifying
.I len
as 0 is permitted (as a successful no-op).
-.PP
+.P
In glibc, this function is implemented using
.BR madvise (2).
However, since glibc 2.6,