This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add my_memrchr() implementation of memrchr()
authorKarl Williamson <khw@cpan.org>
Sat, 25 Mar 2017 18:45:34 +0000 (12:45 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 1 Nov 2017 16:54:01 +0000 (10:54 -0600)
commit6dba01e208bb15b8b85382de24ba78de7d43667b
tree4cbdef4e13eb85771ad613c87e3d6f3c8a47106b
parent70250a0bc924bd7e738cf4f0014883dfc35d80a8
Add my_memrchr() implementation of memrchr()

On platforms that have memrchr(), my_mrchr() maps to use that instead.

This is useful functionality, lacking on many platforms.  This commit
also uses the new function in two places in the core where the comments
previously indicated it would be advantageous to use it if we had it.

It is left usable only in core, so that if this turns out to have been a
bad idea, it can be easily removed.
embed.fnc
embed.h
inline.h
perl.c
perl.h
proto.h