Rev 1408 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1627 | serge | 1 | /* strlen() Author: Kees J. Bot */ |
2 | /* 1 Jan 1994 */ |
||
1408 | serge | 3 | |
1627 | serge | 4 | /* size_t strlen(const char *s) */ |
5 | /* Return the length of a string. */ |
||
6 | /* */ |
||
7 | #include "asm.h" |
||
1408 | serge | 8 | |
1627 | serge | 9 | ENTRY(strlen) |
10 | movl $-1, %ecx /* Unlimited length */ |
||
11 | jmp _C_LABEL(_strnlen) /* Common code */ |