From ff69c843992d53a5a094b90cb6990069dec06cc0 Mon Sep 17 00:00:00 2001 From: Steffen Nurpmeso Date: Wed, 21 May 2025 01:37:35 +0200 Subject: [PATCH] man/man3/mbrtowc.3: RETURN VALUE: Tweak description of -2 return Signed-off-by: Steffen Nurpmeso Message-ID: Signed-off-by: Alejandro Colomar --- man/man3/mbrtowc.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/man3/mbrtowc.3 b/man/man3/mbrtowc.3 index 5d34481d3..81751d32e 100644 --- a/man/man3/mbrtowc.3 +++ b/man/man3/mbrtowc.3 @@ -161,10 +161,10 @@ if an invalid multibyte sequence was encountered. It returns .I "(size_t)\ \-2" -if it couldn't parse a complete multibyte -character, meaning that +if the consumed .I n -should be increased. +bytes form a valid partial character sequence; +more subsequent data needs to be fed in. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). -- 2.47.2