repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 3.35.
[syslinux-debian/hramrach.git]
/
com32
/
lib
/
strrchr.c
blob
b9f20041f158bf3e30eb55a037aaa5d377bbb06c
1
/*
2
* strrchr.c
3
*/
4
5
#include <string.h>
6
7
char
*
strrchr
(
const char
*
s
,
int
c
)
8
{
9
const char
*
found
=
NULL
;
10
11
while
( *
s
) {
12
if
( *
s
== (
char
)
c
)
13
found
=
s
;
14
s
++;
15
}
16
17
return
(
char
*)
found
;
18
}