wcsncpy.3: SYNOPSIS: Use 'restrict' in prototypes
commit815c456a483f93d07a1e98a6e2d1a34287ea6e4d
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 11 Mar 2021 22:33:23 +0000 (11 23:33 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 14 Mar 2021 20:55:58 +0000 (14 21:55 +0100)
treed598a3f9e984f634a1abdd08f09d199912d3c408
parentdac1e36026861de9732434d344eed86ad3761182
wcsncpy.3: SYNOPSIS: Use 'restrict' in prototypes

Both POSIX and glibc use 'restrict' in wcsncpy().
Let's use it here too.

.../glibc$ grep_glibc_prototype wcsncpy
wcsmbs/wchar.h:92:
extern wchar_t *wcsncpy (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>
man3/wcsncpy.3