From: Steffen Nurpmeso Date: Tue, 20 May 2025 23:37:35 +0000 (+0200) Subject: man/man3/mbrtowc.3: RETURN VALUE: Tweak description of -2 return X-Git-Tag: man-pages-6.15~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff69c843992d53a5a094b90cb6990069dec06cc0;p=thirdparty%2Fman-pages.git man/man3/mbrtowc.3: RETURN VALUE: Tweak description of -2 return Signed-off-by: Steffen Nurpmeso Message-ID: Signed-off-by: Alejandro Colomar --- 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).