view modules/memchr @ 17364:7524d97ae56f

stdalign: port to stricter ISO C11 ISO C11 says that _Alignof's operand must be a parenthesized type. Problem reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>. * doc/posix-headers/stdalign.texi (stdalign.h): Document this. * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 29 Mar 2013 19:47:13 -0700
parents 030dcb1a7a38
children
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
string
memchr-obsolete

configure.ac:
gl_FUNC_MEMCHR
if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
  AC_LIBOBJ([memchr])
  gl_PREREQ_MEMCHR
fi
gl_STRING_MODULE_INDICATOR([memchr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc