view modules/memchr @ 11658:8b1dcb465dff

tests: add test for bogus NULL definition * tests/test-stdio.c: Ensure POSIX 2008 requirement on NULL. * tests/test-stdlib.c: Likewise. * tests/test-string.c: Likewise. * tests/test-locale.c: Likewise. * tests/test-unistd.c: Likewise. * modules/stdio-tests (Depends-on): Add verify. * modules/stdlib-tests (Depends-on): Likewise. * modules/string-tests (Depends-on): Likewise. * modules/locale-tests (Depends-on): Likewise. * modules/unistd-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Fri, 26 Jun 2009 08:00:28 -0600
parents dfac57b1ec9f
children dc467ffc7e2f
line wrap: on
line source

Description:
memchr() function: scan memory for a byte.

Files:
lib/memchr.c
lib/memchr.valgrind
m4/memchr.m4
m4/mmap-anon.m4

Depends-on:
extensions
getpagesize
string

configure.ac:
gl_FUNC_MEMCHR
gl_STRING_MODULE_INDICATOR([memchr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc