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>
This commit is contained in:
Alejandro Colomar 2021-02-24 15:43:09 +01:00 committed by Michael Kerrisk
parent 1ac0a9ccbc
commit a7bbdaf7b8
1 changed files with 1 additions and 1 deletions

View File

@ -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