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
Releasing debian version 4.04+dfsg-9.
[syslinux-debian/hramrach.git]
/
dos
/
strchr.c
blob
831531132fd43fa18495fb59ebf10252870d1f08
1
/*
2
* strchr.c
3
*/
4
5
#include <string.h>
6
#include
"mystuff.h"
7
8
char
*
strchr
(
const char
*
s
,
int
c
)
9
{
10
while
(*
s
!= (
char
)
c
) {
11
if
(!*
s
)
12
return
NULL
;
13
s
++;
14
}
15
16
return
(
char
*)
s
;
17
}