minix/lib/libc/arch/i386/string/rindex.S
2010-03-03 14:27:30 +00:00

12 lines
284 B
ArmAsm

/* rindex() Author: Kees J. Bot */
/* 2 Jan 1994 */
/* char *rindex(const char *s, int c) */
/* Look for the last occurrence a character in a string. Has suffered */
/* from a hostile takeover by strrchr(). */
/* */
.text
.globl _rindex
.balign 16
_rindex:
jmp _strrchr