add memmem function (gnu extension)
authorRich Felker <dalias@aerifal.cx>
Tue, 16 Oct 2012 03:02:57 +0000 (23:02 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 16 Oct 2012 03:02:57 +0000 (23:02 -0400)
commitc86f2974e2acd330be2d587173dd4dd56db82e22
tree6b607e4088f414b8ca398544ec9407f9e77c0a62
parent21284ec75db064d3f27fcd1d6ae37b613db61c43
add memmem function (gnu extension)

based on strstr. passes gnulib tests and a few quick checks of my own.
include/string.h
src/string/memmem.c [new file with mode: 0644]