view modules/strcasestr-simple @ 15333:f03da5e72c61

timespec-add, timespec-sub: new modules * lib/timespec.h (timespec_add, timespec_sub): New decls. * lib/timespec-add.c, lib/timespec-sub.c: * modules/timespec-add, modules/timespec-sub: New files.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 30 Jun 2011 15:17:31 -0700
parents f583623a374b
children
line wrap: on
line source

Description:
strcasestr() function: case-insensitive search for unibyte substring.

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

Depends-on:
string
stdbool
strcase
memchr
memcmp
extensions

configure.ac:
gl_FUNC_STRCASESTR_SIMPLE
if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then
  AC_LIBOBJ([strcasestr])
  gl_PREREQ_STRCASESTR
fi
gl_STRING_MODULE_INDICATOR([strcasestr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Bruno Haible