diff mbox series

[07/22] remap_file_pages.2: SYNOPSIS: Mark as [[deprecated]]

Message ID 20211030213131.140429-8-alx.manpages@gmail.com
State New
Headers show
Series man2: Add [[deprecated]] attribute | expand

Commit Message

Alejandro Colomar Oct. 30, 2021, 9:31 p.m. UTC
This syscall was marked as deprecated in Linux 3.16.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/remap_file_pages.2 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/man2/remap_file_pages.2 b/man2/remap_file_pages.2
index 2ed31bbff..69b37bb8b 100644
--- a/man2/remap_file_pages.2
+++ b/man2/remap_file_pages.2
@@ -33,8 +33,9 @@  remap_file_pages \- create a nonlinear file mapping
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <sys/mman.h>
 .PP
-.BI "int remap_file_pages(void *" addr ", size_t " size ", int " prot ,
-.BI "                     size_t " pgoff ", int " flags );
+.BI "[[deprecated]] int remap_file_pages(void *" addr ", size_t " size \
+", int " prot ,
+.BI "                                    size_t " pgoff ", int " flags );
 .fi
 .SH DESCRIPTION
 .BR Note :