mirror of https://github.com/E-Almqvist/eOS
parent
799dcba26e
commit
e05eb80863
@ -1,8 +0,0 @@ |
|||||||
// Generic String Library
|
|
||||||
#define INDEX(s, c) (int)(c-s) |
|
||||||
|
|
||||||
unsigned int length(char* str) { |
|
||||||
char* p; |
|
||||||
for( p = str; *p != '\0'; p++ ) {} |
|
||||||
return (unsigned int)(p-str); |
|
||||||
} |
|
Loading…
Reference in new issue