view modules/strchrnul @ 17724:8526f2f0b117

maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example.
author Pádraig Brady <P@draigBrady.com>
date Sat, 12 Jul 2014 15:21:12 +0100
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