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

12 lines
259 B
ArmAsm

/* index() Author: Kees J. Bot */
/* 2 Jan 1994 */
/* char *index(const char *s, int c) */
/* Look for a character in a string. Has suffered from a hostile */
/* takeover by strchr(). */
/* */
.text
.globl _index
.balign 16
_index:
jmp _strchr