view modules/memrchr @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
parents 8e387f7f0bf9
children
line wrap: on
line source

Description:
memrchr() function: scan memory for a byte, from the right end.

Files:
lib/memrchr.c
m4/memrchr.m4

Depends-on:
extensions
string

configure.ac:
gl_FUNC_MEMRCHR
if test $ac_cv_func_memrchr = no; then
  AC_LIBOBJ([memrchr])
  gl_PREREQ_MEMRCHR
fi
gl_STRING_MODULE_INDICATOR([memrchr])

Makefile.am:

Include:
<string.h>

License:
LGPL

Maintainer:
Jim Meyering, glibc