On Wed, Nov 23, 2022 at 9:29 AM Alejandro Colomar <alx.manpages@xxxxxxxxx> wrote: > ... > >> In any case I also find it useful to have this kind of portability > >> information when deciding what to use in code. > > And I must admit it's also useful to me (this all started because Andrew and I > had to use memmem(3) at a project where macOS compatibility is relevant --not > critical, but relevant--). If you are a die-hard free software person using GNU gear, then Gnulib provides memmem. There's no need to worry about availability or portability courtesy of Gnulib. See https://www.gnu.org/software/gnulib/manual/html_node/memmem.html . Jeff