1
0
kolibrios/drivers/ddk/string/strlen.S
Sergey Semyonov (Serge) 49cb0f914d ddk: fix strcpy
devman: scan pci root bus

git-svn-id: svn://kolibrios.org@1627 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-09-26 22:57:18 +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. */
/* */
#include "asm.h"
ENTRY(strlen)
movl $-1, %ecx /* Unlimited length */
jmp _C_LABEL(_strnlen) /* Common code */