10 lines
124 B
C
10 lines
124 B
C
|
|
#include <string.h>
|
|
|
|
size_t strlen (const char * str) {
|
|
register size_t i = 0;
|
|
while(*str++) i++;
|
|
return i;
|
|
}
|
|
|