From ca74785646503695c49b592aa7dac8f27b3567fe Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 4 Oct 1999 05:13:05 +0000 Subject: 1999-10-04 Roland McGrath * sysdeps/generic/memrchr.c: New file, adapted from memchr.c. * sysdeps/i386/bits/string.h (__memrchr): New function. * string/string.h: Declare memrchr, __memrchr. * manual/string.texi (Search Functions): Document memrchr. --- manual/string.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manual/string.texi') diff --git a/manual/string.texi b/manual/string.texi index a151ddd48c..2d28dd2e47 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -1062,6 +1062,13 @@ object beginning at @var{block}. The return value is a pointer to the located byte, or a null pointer if no match was found. @end deftypefun +@comment string.h +@comment GNU +@deftypefun {void *} memrchr (const void *@var{block}, int @var{c}, size_t @var{size}) +The function @code{memrchr} is like @code{memchr}, except that it searches +backwards from the end of the block defined by @var{block} and @var{size} +(instead of forwards from the front). + @comment string.h @comment ISO @deftypefun {char *} strchr (const char *@var{string}, int @var{c}) -- cgit v1.2.3