mlibc: Implement strstr.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 29 May 2018 17:35:20 +0000 (19:35 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 29 May 2018 17:35:20 +0000 (19:35 +0200)
commit9f909603921d880e5e10741c82a97a607d9192a6
tree1fb842c28417b20c8e9633443b1b1f1fbb80ff6d
parent26e1876d12c8cf568a464fe337576d452b154e5f
mlibc: Implement strstr.

* lib/libc+tcc.c (_memmem, memmem): New function.  Import from GNU
  LilyPond.
  (strstr): Implement using memmem.
* include/string.h (_memmem, memmem): Declare.
* AUTHORS: Add Han-Wen Nienhuys.
AUTHORS
lib/libc+tcc.c