summaryrefslogtreecommitdiff
path: root/lib/libc/string/memmem.c
Commit message (Collapse)AuthorAgeFilesLines
* - ANSIfy function definitionsDaniel Gerzo2009-02-031-3/+1
| | | | | | | | | - use nul when we are looking for a terminating character where appropriate Approved by: imp Notes: svn path=/head/; revision=188080
* Add the function memmem(3) as found in glibc and others.Andre Oppermann2005-08-251-0/+67
It is the binary equivalent to strstr(3). void *memmem(const void *big, size_t big_len, const void *little, size_t little_len); Submitted by: Pascal Gloor <pascal.gloor at spale.com> MFC after: 3 days Notes: svn path=/head/; revision=149466