aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/mbrtowc.3
diff options
context:
space:
mode:
authorSteffen Nurpmeso <steffen@sdaoden.eu>2025-05-21 01:37:35 +0200
committerAlejandro Colomar <alx@kernel.org>2025-05-21 02:04:54 +0200
commitff69c843992d53a5a094b90cb6990069dec06cc0 (patch)
treec8deb434104b487f42c6611555e1e300525a66ca /man/man3/mbrtowc.3
parent8bc318c60ffed8d698de2a94cb2a03ff611c3c7f (diff)
downloadman-pages-ff69c843992d53a5a094b90cb6990069dec06cc0.tar.gz
man/man3/mbrtowc.3: RETURN VALUE: Tweak description of -2 return
Signed-off-by: Steffen Nurpmeso <steffen@sdaoden.eu> Message-ID: <f90b33d398ccf814083e300454df88e0937b94d3.1747784310.git.steffen@sdaoden.eu> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/mbrtowc.3')
-rw-r--r--man/man3/mbrtowc.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/mbrtowc.3 b/man/man3/mbrtowc.3
index 5d34481d39..81751d32e1 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).