Both POSIX and glibc use 'restrict' in fputs(). Let's use it here too. .../glibc$ grep_glibc_prototype fputs libio/stdio.h:631: extern int fputs (const char *__restrict __s, FILE *__restrict __stream); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/puts.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man3/puts.3 b/man3/puts.3 index 3b0fb9d2a..e9b0b0c8a 100644 --- a/man3/puts.3 +++ b/man3/puts.3 @@ -34,8 +34,8 @@ fputc, fputs, putc, putchar, puts \- output of characters and strings .BI "int putc(int " c ", FILE *" stream ); .BI "int putchar(int " c ); .PP -.BI "int fputs(const char *" "s" ", FILE *" "stream" ); -.BI "int puts(const char *" "s" ); +.BI "int fputs(const char *restrict " s ", FILE *restrict " stream ); +.BI "int puts(const char *" s ); .fi .SH DESCRIPTION .BR fputc () -- 2.30.1