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@xxxxxxxxx> --- man3/wcsncpy.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man3/wcsncpy.3 b/man3/wcsncpy.3 index d5a02b8a6..b90908fe7 100644 --- a/man3/wcsncpy.3 +++ b/man3/wcsncpy.3 @@ -20,7 +20,9 @@ wcsncpy \- copy a fixed-size string of wide characters .nf .B #include <wchar.h> .PP -.BI "wchar_t *wcsncpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n ); +.BI "wchar_t *wcsncpy(wchar_t *restrict " dest \ +", const wchar_t *restrict " src , +.BI " size_t " n ); .fi .SH DESCRIPTION The -- 2.30.1