Date: Thu, 25 Aug 2005 18:26:58 +0000 (UTC) From: Andre Oppermann <andre@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include string.h src/lib/libc/string Makefile.inc memchr.3 memmem.3 memmem.c strchr.3 strstr.3 Message-ID: <200508251826.j7PIQwnF073753@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
andre 2005-08-25 18:26:58 UTC FreeBSD src repository Modified files: include string.h lib/libc/string Makefile.inc memchr.3 strchr.3 strstr.3 Added files: lib/libc/string memmem.3 memmem.c Log: Add the function memmem(3) as found in glibc and others. 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 Revision Changes Path 1.22 +1 -0 src/include/string.h 1.36 +5 -5 src/lib/libc/string/Makefile.inc 1.8 +2 -1 src/lib/libc/string/memchr.3 1.1 +84 -0 src/lib/libc/string/memmem.3 (new) 1.1 +67 -0 src/lib/libc/string/memmem.c (new) 1.12 +1 -0 src/lib/libc/string/strchr.3 1.13 +1 -0 src/lib/libc/string/strstr.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508251826.j7PIQwnF073753>