aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/mbrtowc.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-06-15 20:29:33 +0200
committerAlejandro Colomar <alx@kernel.org>2024-06-15 20:44:44 +0200
commitf8fac7b28e2adb3a7a7ab7f7f28dd764f9c8ea7a (patch)
tree67133d81bc54c1d773a2919e5d81120f770b26fb /man/man3/mbrtowc.3
parent6fc32a0a6ae2cedf2e954b8b48cf8ba0d5ddf2a1 (diff)
downloadman-pages-f8fac7b28e2adb3a7a7ab7f7f28dd764f9c8ea7a.tar.gz
man/: srcfix: Use \[rs] instead of \e
Scripted change: $ find man -type f \ | xargs grep -l '\\e' \ | xargs sed -i 's/\\e/\\[rs]/g'; Link: <https://lore.kernel.org/linux-man/20240611122453.qn6jyl4go4bvwkqm@illithid/> Suggested-by: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/mbrtowc.3')
-rw-r--r--man/man3/mbrtowc.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/mbrtowc.3 b/man/man3/mbrtowc.3
index 26d29b2555..3c1fc99ad7 100644
--- a/man/man3/mbrtowc.3
+++ b/man/man3/mbrtowc.3
@@ -42,11 +42,11 @@ multibyte character, converts it to a wide character and stores it at
It updates the shift state
.IR *ps .
If the converted wide
-character is not L\[aq]\e0\[aq] (the null wide character),
+character is not L\[aq]\[rs]0\[aq] (the null wide character),
it returns the number of bytes that were consumed
from
.IR s .
-If the converted wide character is L\[aq]\e0\[aq], it resets the shift
+If the converted wide character is L\[aq]\[rs]0\[aq], it resets the shift
state
.I *ps
to the initial state and returns 0.
@@ -154,9 +154,9 @@ The
function returns the number of bytes parsed from the
multibyte sequence starting at
.IR s ,
-if a non-L\[aq]\e0\[aq] wide character
+if a non-L\[aq]\[rs]0\[aq] wide character
was recognized.
-It returns 0, if a L\[aq]\e0\[aq] wide character was recognized.
+It returns 0, if a L\[aq]\[rs]0\[aq] wide character was recognized.
It returns
.I (size_t)\ \-1
and sets