On Mon, Feb 07, 2022 at 01:36:24PM +0100, Hiltjo Posthuma wrote: > glibc 2.1 was released in 1999: > https://sourceware.org/glibc/wiki/Glibc%20Timeline > > OpenBSD 3.8 was released in 2005.
The function is also available on musl and uclibc. Although on musl the implementation[0] is same as dmenu's cisstrstr(), so the performance improvement will be system dependent. But I guess it's safe to assume that someone who's running musl doesn't exactly care about squeezing the most performance out of his system. [0]: https://git.musl-libc.org/cgit/musl/tree/src/string/strcasestr.c - NRK