minix/lib/libc/arch/i386/string/rindex.S

13 lines
284 B
ArmAsm
Raw Normal View History

/* 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