Chameleon

Chameleon Svn Source Tree

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

Source at commit 1328 created 12 years 9 months ago.
By meklort, Add work loop to ppc boot file.\n
1/*
2 * strlen()
3 */
4
5#include <string.h>
6
7size_t strlen(const char *s)
8{
9const char *ss = s;
10while (*ss)
11ss++;
12return ss - s;
13}
14

Archive Download this file

Revision: 1328