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