summaryrefslogblamecommitdiff
path: root/strlen.cc
blob: ef81b914e6509614338d689e0b1e5f3016b231a8 (plain) (tree)
1
2
3
4
5
6
7
8







                                    
# include <luma/main.hh>
int luma::strlen(char const * str) {
	int len = 0x0;
	while(str[len] != '\0') {
		++len;
	}
	return len;
}