mirror of https://github.com/mkerrisk/man-pages
wcsncat.3: SYNOPSIS: Use 'restrict' in prototypes
Both POSIX and glibc use 'restrict' in wcsncat(). Let's use it here too. .../glibc$ grep_glibc_prototype wcsncat wcsmbs/wchar.h:101: extern wchar_t *wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) __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
a6a3fd6675
commit
dac1e36026
|
@ -20,7 +20,9 @@ wcsncat \- concatenate two wide-character strings
|
|||
.nf
|
||||
.B #include <wchar.h>
|
||||
.PP
|
||||
.BI "wchar_t *wcsncat(wchar_t *" dest ", const wchar_t *" src ", size_t " n );
|
||||
.BI "wchar_t *wcsncat(wchar_t *restrict " dest \
|
||||
", const wchar_t *restrict " src ,
|
||||
.BI " size_t " n );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue