From 53783e73e482042cff0db76762d808b2f73305a1 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 11 Jul 2025 15:35:22 +0200 Subject: [PATCH] man/man3/stpncpy.3: RETURN VALUE: wfix This is for consistency with wcpncpy(3). Signed-off-by: Alejandro Colomar --- man/man3/stpncpy.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/man3/stpncpy.3 b/man/man3/stpncpy.3 index 99fc34701..0e8225ed6 100644 --- a/man/man3/stpncpy.3 +++ b/man/man3/stpncpy.3 @@ -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). -- 2.47.2