aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-02-24 15:43:09 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-03-03 23:12:22 +0100
commita7bbdaf7b8bf853a1fad09c857a61d104cdfefb7 (patch)
treef6155414e8f74e74d9c5ed11348d73da538549bf
parent1ac0a9ccbc95f7be947ce53db65f90037c85173c (diff)
downloadman-pages-a7bbdaf7b8bf853a1fad09c857a61d104cdfefb7.tar.gz
fputws.3: SYNOPSIS: Use 'restrict' in prototypes
Both POSIX and glibc use 'restrict' in fputws(). Let's use it here too. glibc: ============================= fputws wcsmbs/wchar.h:765: int fputws (const wchar_t *restrict ws, FILE *restrict stream); Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/fputws.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/fputws.3 b/man3/fputws.3
index 604c960389..7269353f7d 100644
--- a/man3/fputws.3
+++ b/man3/fputws.3
@@ -20,7 +20,7 @@ fputws \- write a wide-character string to a FILE stream
.nf
.B #include <wchar.h>
.PP
-.BI "int fputws(const wchar_t *" ws ", FILE *" stream );
+.BI "int fputws(const wchar_t *restrict " ws ", FILE *restrict " stream );
.fi
.SH DESCRIPTION
The