From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/posix_madvise.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'man3/posix_madvise.3') 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 -.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, -- cgit v1.2.3