Hi Jeff,
Nothing is missing in the freebsd implementation. In fact, it might even be
better than glibc version by being simpler. I took the first implementation
that Google code returned without knowing all implications.
Greetings,
Chris is correct. You either need to base off the BSD version or else
you must write a new one based on the API description). Newlib has
changed a few code licenses in the past with author permission, but not
for FSF contributed works. The following Freebsd implementation seems
fairly straightforward. Is there anything missing?
strcasestr.c:
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/string/strcasestr.c?rev
=1.4;content-type=text%2Fplain
If not, I can add it the repository.
-- Jeff J.