mirror of https://github.com/mkerrisk/man-pages
fgetws.3: SYNOPSIS: Use 'restrict' in prototypes
Both POSIX and glibc use 'restrict' for fgetws(). Let's use it here too. glibc: wcsmbs/wchar.h:758: wchar_t *fgetws (wchar_t *restrict ws, int n, 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:
parent
ef5781cf66
commit
e7bb37ab1b
|
@ -22,7 +22,8 @@ fgetws \- read a wide-character string from a FILE stream
|
|||
.nf
|
||||
.B #include <wchar.h>
|
||||
.PP
|
||||
.BI "wchar_t *fgetws(wchar_t *" ws ", int " n ", FILE *" stream );
|
||||
.BI "wchar_t *fgetws(wchar_t *restrict " ws ", int " n \
|
||||
", FILE *restrict " stream );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue