KernOS
utilities.cpp
Go to the documentation of this file.
1
#include <
utilities.h
>
2
7
size_t
Strlen
(
const
char
*Str)
8
{
9
size_t
i = 0;
10
11
while
(Str[i] !=
'\0'
)
12
++i;
13
14
return
i;
15
}
16
utilities.h
Strlen
size_t Strlen(const char *Str)
Count number of characters in string.
Definition:
utilities.cpp:7
OS
kernel
arch
x86
utilities.cpp
Generated by
1.8.13