Both POSIX and glibc use 'restrict' in strfmon(), strfmon_l(). Let's use it here too. .../glibc$ grep_glibc_prototype strfmon stdlib/monetary.h:38: extern ssize_t strfmon (char *__restrict __s, size_t __maxsize, const char *__restrict __format, ...) __THROW __attribute_format_strfmon__ (3, 4); .../glibc$ grep_glibc_prototype strfmon_l stdlib/monetary.h:47: extern ssize_t strfmon_l (char *__restrict __s, size_t __maxsize, locale_t __loc, const char *__restrict __format, ...) __THROW __attribute_format_strfmon__ (4, 5); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/strfmon.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man3/strfmon.3 b/man3/strfmon.3 index f2434a7fa..98c8d34fe 100644 --- a/man3/strfmon.3 +++ b/man3/strfmon.3 @@ -28,9 +28,10 @@ strfmon, strfmon_l \- convert monetary value to a string .nf .B #include <monetary.h> .PP -.BI "ssize_t strfmon(char *" s ", size_t " max ", const char *" format ", ...);" -.BI "ssize_t strfmon_l(char *" s ", size_t " max ", locale_t " locale , -.BI " const char *" format ", ...);" +.BI "ssize_t strfmon(char *restrict " s ", size_t " max , +.BI " const char *restrict " format ", ...);" +.BI "ssize_t strfmon_l(char *restrict " s ", size_t " max ", locale_t " locale , +.BI " const char *restrict " format ", ...);" .fi .SH DESCRIPTION The -- 2.30.1.721.g45526154a5