]> git.karo-electronics.de Git - oswald.git/blob - ui/oswald_strings.c
Redesign to an event based handling
[oswald.git] / ui / oswald_strings.c
1 #include "oswald.h"
2
3 #include "oswald_strings.h"
4
5 u16t oswald_strlen(u8t *string)
6 {
7         register i=0;
8
9         if (string == NULL)
10                 return 0;
11
12         while (string[i] != 0) i++;
13
14         return i;
15 }
16