[RFC v1 0/1] string: Add streq(), memeq(), wcseq(), wmemeq()
Alejandro Colomar
alx@kernel.org
Sat Aug 30 06:45:36 GMT 2025
Hi!
Here's a draft of a patch. It compiles, although I'm a bit unhappy
about the problem with _Bool and C++ in the <wchar.h> header. How
should I proceed with that?
Of course, I still need to write tests, but I wanted to first show a
draft of how this would look like. Does this make sense?
I've added memeq() and wmemeq() for consistency, BTW.
Have a lovely day!
Alex
Alejandro Colomar (1):
string: Add streq(), memeq(), wcseq(), wmemeq()
string/string.h | 21 +++++++++++++++++++++
wcsmbs/wchar.h | 31 +++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
Range-diff against v0:
-: ---------- > 1: ee2d993975 string: Add streq(), memeq(), wcseq(), wmemeq()
--
2.50.1
More information about the Libc-alpha
mailing list