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 }
char * strchr(const char *s, int c)
Definition: strchr.c:3
c(generic_all_nodes)
#define NULL
Definition: stddef.h:4