Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/modules/klibc/strchr.c

Source at commit 1362 created 12 years 10 months ago.
By ifabio, Add EnableC2/3/4 State and Npci=0x2000 options for the pkg, also edit Localizable file for English and Italian
1/*
2 * strchr.c
3 */
4
5#include <string.h>
6
7char *strchr(const char *s, int c)
8{
9while (*s != (char)c) {
10if (!*s)
11return NULL;
12s++;
13}
14
15return (char *)s;
16}
17
18//__ALIAS(char *, index, (const char *, int), strchr)
19

Archive Download this file

Revision: 1362