source:
trunk/minix/lib/i386/string/strlen.s@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 281 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | ! strlen() Author: Kees J. Bot |
2 | ! 1 Jan 1994 | |
3 | .sect .text; .sect .rom; .sect .data; .sect .bss | |
4 | ||
5 | ! size_t strlen(const char *s) | |
6 | ! Return the length of a string. | |
7 | ! | |
8 | .sect .text | |
9 | .define _strlen | |
10 | .align 16 | |
11 | _strlen: | |
12 | mov ecx, -1 ! Unlimited length | |
13 | jmp __strnlen ! Common code |
Note:
See TracBrowser
for help on using the repository browser.