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

13 lines
259 B
ArmAsm
Raw Normal View History

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