Both POSIX and glibc use 'restrict' in wcpcpy(). Let's use it here too. .../glibc$ grep_glibc_prototype wcpcpy wcsmbs/wchar.h:551: extern wchar_t *wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) __THROW; .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/wcpcpy.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man3/wcpcpy.3 b/man3/wcpcpy.3 index 9c30da2d9..5ef063e05 100644 --- a/man3/wcpcpy.3 +++ b/man3/wcpcpy.3 @@ -19,7 +19,8 @@ wcpcpy \- copy a wide-character string, returning a pointer to its end .nf .B #include <wchar.h> .PP -.BI "wchar_t *wcpcpy(wchar_t *" dest ", const wchar_t *" src ); +.BI "wchar_t *wcpcpy(wchar_t *restrict " dest \ +", const wchar_t *restrict " src ); .fi .PP .RS -4 -- 2.30.1