1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/strstr
Eric Blake c358da1eb7 Share two-way algorithm.
* lib/str-two-way.h: New file, merged from...
* lib/memmem.c: ...here...
* lib/strstr.c: ...and here.
* modules/memmem (Files): Use it.
* modules/strstr (Files): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
2008-01-10 14:32:53 -07:00

29 lines
323 B
Plaintext

Description:
strstr() function: efficiently locate first substring in a buffer.
Files:
lib/str-two-way.h
lib/strstr.c
m4/strstr.m4
Depends-on:
string
stdbool
memchr
memcmp
configure.ac:
gl_FUNC_STRSTR
gl_STRING_MODULE_INDICATOR([strstr])
Makefile.am:
Include:
<string.h>
License:
LGPLv2+
Maintainer:
all, Eric Blake