]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/stpncpy.3: RETURN VALUE: wfix
authorAlejandro Colomar <alx@kernel.org>
Fri, 11 Jul 2025 13:35:22 +0000 (15:35 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 11 Jul 2025 13:35:22 +0000 (15:35 +0200)
This is for consistency with wcpncpy(3).

Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/stpncpy.3

index 99fc347019600b89189067a3ca231b94b3bebc15..0e8225ed66224b2619bf7c3c474272426e314b94 100644 (file)
@@ -80,7 +80,9 @@ returns
 .TP
 .BR stpncpy ()
 returns a pointer to
-one after the last character in the destination character sequence.
+one past the last non-null wide character written,
+that is,
+.IR dest\~+\~strnlen(src,\~n) .
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).