From: Alejandro Colomar Date: Thu, 11 Feb 2021 17:44:55 +0000 (+0100) Subject: process_madvise.2: Add note about missing glibc wrapper X-Git-Tag: man-pages-5.11~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=904291a4219f7fd8698f6fec40cdfd2b34aeaf66;p=thirdparty%2Fman-pages.git process_madvise.2: Add note about missing glibc wrapper Glibc bug: Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man2/process_madvise.2 b/man2/process_madvise.2 index d33c32f63e..3767d8d4ad 100644 --- a/man2/process_madvise.2 +++ b/man2/process_madvise.2 @@ -36,6 +36,10 @@ process_madvise \- give advice about use of memory to a process .BI " unsigned long " vlen ", int " advice , .BI " unsigned int " flags ");" .fi +.PP +.IR Note : +There is no glibc wrapper for this system call; see NOTES. +.\" FIXME: See .SH DESCRIPTION The .BR process_madvise() @@ -218,6 +222,9 @@ Support for this system call is optional, depending on the setting of the .B CONFIG_ADVISE_SYSCALLS configuration option. +.SH NOTES +Glibc does not provide a wrapper for this system call; call it using +.BR syscall (2). .SH SEE ALSO .BR madvise (2), .BR pidfd_open (2),