Numworks Epsilon
1.4.1
Graphing Calculator Operating System
strchr.c
Go to the documentation of this file.
1
#include <string.h>
2
3
char
*
strchr
(
const
char
* s,
int
c
) {
4
while
(*s !=
NULL
&& *s !=
c
) {
5
s++;
6
}
7
if
(*s ==
c
) {
8
return
(
char
*)s;
9
}
10
return
NULL
;
11
}
strchr
char * strchr(const char *s, int c)
Definition:
strchr.c:3
c
c(generic_all_nodes)
NULL
#define NULL
Definition:
stddef.h:4
epsilon
liba
src
strchr.c
Generated by
1.8.14