memchr() vs. memscan()

From: Andy Shevchenko
Date: Thu Feb 02 2023 - 10:40:35 EST


Why do we have memchr() and memscan() implementations in lib/string.c?
As far as I can see the one may be derived from the other easily.

--
With Best Regards,
Andy Shevchenko