]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/mbrtowc.3: RETURN VALUE: Tweak description of -2 return
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Tue, 20 May 2025 23:37:35 +0000 (01:37 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 21 May 2025 00:04:54 +0000 (02:04 +0200)
Signed-off-by: Steffen Nurpmeso <steffen@sdaoden.eu>
Message-ID: <f90b33d398ccf814083e300454df88e0937b94d3.1747784310.git.steffen@sdaoden.eu>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/mbrtowc.3

index 5d34481d392286cb771beccef7a1dcdf40a55080..81751d32e15b16327256c3e528a6a041ef83ba27 100644 (file)
@@ -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).