mirror of
https://github.com/tailix/kernel.git
synced 2024-12-04 11:34:42 -05:00
10 lines
144 B
C
10 lines
144 B
C
unsigned int kstrlen(const char *const s)
|
|
{
|
|
unsigned int result = 0;
|
|
|
|
while (s[result]) {
|
|
++result;
|
|
}
|
|
|
|
return result;
|
|
}
|