view modules/strchrnul @ 17448:b3516a31a386

regex: port to --with-included-regex --enable-gcc-warnings non-threaded * lib/regex_internal.h (lock_fini, lock_lock): Rework to avoid gcc warnings in the non-threaded case. Reported by Charlie Brown in <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00015.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 09 Jul 2013 11:35:01 -0700
parents 941b55762d4d
children
line wrap: on
line source

Description:
strchrnul() function: Find the first occurrence of C in S or the final NUL
byte.

Files:
lib/strchrnul.c
lib/strchrnul.valgrind
m4/strchrnul.m4

Depends-on:
string
extensions
rawmemchr       [test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1]

configure.ac:
gl_FUNC_STRCHRNUL
if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
  AC_LIBOBJ([strchrnul])
  gl_PREREQ_STRCHRNUL
fi
gl_STRING_MODULE_INDICATOR([strchrnul])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Eric Blake, glibc