Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in...
[minix3-old.git] / lib / i86 / string / strlen.s
blob41cab909fb6be3e40269ecb4c158b5b553d61bac
1 ! strlen() Author: Kees J. Bot
2 ! 27 Jan 1994
3 .sect .text; .sect .rom; .sect .data; .sect .bss
5 ! size_t strlen(const char *s)
6 ! Return the length of a string.
8 .sect .text
9 .define _strlen
10 _strlen:
11 mov cx, #-1 ! Unlimited length
12 jmp __strnlen ! Common code