summaryrefslogtreecommitdiff
path: root/modules/strstr-simple
blob: c61afc45adff69a15b4e6916bfb2c26b2e2e52c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description:
strstr() function: locate first substring in a buffer.

Files:
lib/str-two-way.h
lib/strstr.c
m4/strstr.m4

Depends-on:
string
stdbool         [test $REPLACE_STRSTR = 1]
memchr          [test $REPLACE_STRSTR = 1]
memcmp          [test $REPLACE_STRSTR = 1]

configure.ac:
gl_FUNC_STRSTR_SIMPLE
if test $REPLACE_STRSTR = 1; then
  AC_LIBOBJ([strstr])
fi
gl_STRING_MODULE_INDICATOR([strstr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all, Eric Blake