Both POSIX and glibc use 'restrict' in wcpncpy(). Let's use it here too. .../glibc$ grep_glibc_prototype wcpncpy wcsmbs/wchar.h:556: extern wchar_t *wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) __THROW; .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/wcpncpy.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man3/wcpncpy.3 b/man3/wcpncpy.3 index cbe7c418d..842088e0c 100644 --- a/man3/wcpncpy.3 +++ b/man3/wcpncpy.3 @@ -20,7 +20,9 @@ returning a pointer to its end .nf .B #include <wchar.h> .PP -.BI "wchar_t *wcpncpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n ); +.BI "wchar_t *wcpncpy(wchar_t *restrict " dest \ +", const wchar_t *restrict " src , +.BI " size_t " n ); .fi .PP .RS -4 -- 2.30.1