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
/
i386
/
string
/
rindex.s
blob
3c8163e0505d1c4c11904aacc0756c724cfb10be
1
!
rindex
()
Author
:
Kees J. Bot
2
!
2
Jan
1994
3
.sect .text; .sect .rom; .sect .data; .sect .bss
4
5
!
char
*
rindex
(
const char
*
s
,
int c
)
6
!
Look for the last occurrence
a
character in
a
string. Has suffered
7
!
from
a
hostile takeover by strrchr
()
.
8
!
9
.sect .text
10
.define _rindex
11
.align 16
12
_rindex
:
13
jmp _strrchr