mirror of https://github.com/mkerrisk/man-pages
wcscat.3: SYNOPSIS: Use 'restrict' in prototypes
Both POSIX and glibc use 'restrict' in wcscat(). Let's use it here too. .../glibc$ grep_glibc_prototype wcscat wcsmbs/wchar.h:97: extern wchar_t *wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src) __THROW __nonnull ((1, 2)); .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ce17c7a7e6
commit
454eddea7a
|
@ -20,7 +20,8 @@ wcscat \- concatenate two wide-character strings
|
|||
.nf
|
||||
.B #include <wchar.h>
|
||||
.PP
|
||||
.BI "wchar_t *wcscat(wchar_t *" dest ", const wchar_t *" src );
|
||||
.BI "wchar_t *wcscat(wchar_t *restrict " dest \
|
||||
", const wchar_t *restrict " src );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue