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

12 lines
255 B
ArmAsm

/* strlen() Author: Kees J. Bot */
/* 1 Jan 1994 */
/* size_t strlen(const char *s) */
/* Return the length of a string. */
/* */
.text
.globl _strlen
.balign 16
_strlen:
movl $-1, %ecx /* Unlimited length */
jmp __strnlen /* Common code */