From: Alejandro Colomar Date: Fri, 11 Jul 2025 13:34:22 +0000 (+0200) Subject: man/man3/wcpncpy.3: RETURN VALUE: Fix incorrect wording X-Git-Tag: man-pages-6.15~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e4e9222e90d11ee0f7ad35004eb00c3d56b3574;p=thirdparty%2Fman-pages.git man/man3/wcpncpy.3: RETURN VALUE: Fix incorrect wording Fixes: d91506f8faa4 (1999-08-24, 2022-12-19; "man-pages 1.26") Reported-by: Elliott Hughes Signed-off-by: Alejandro Colomar --- diff --git a/man/man3/wcpncpy.3 b/man/man3/wcpncpy.3 index 636c1cdac..2533ac369 100644 --- a/man/man3/wcpncpy.3 +++ b/man/man3/wcpncpy.3 @@ -79,8 +79,10 @@ characters at .IR dest . .SH RETURN VALUE .BR wcpncpy () -returns a pointer to the last wide character written, that is, -.IR dest + n \-1. +returns a pointer to +one past the last non-null wide character written, +that is, +.IR dest\~+\~wcsnlen(src,\~n) . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7).