repo.or.cz
/
minix3-old.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in...
[minix3-old.git]
/
lib
/
i86
/
string
/
strlen.s
blob
41cab909fb6be3e40269ecb4c158b5b553d61bac
1
!
strlen
()
Author
:
Kees J. Bot
2
!
27
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
_strlen
:
11
mov cx
,
#-1 ! Unlimited length
12
jmp __strnlen
!
Common code