1
#include "str.h"
2
3
unsigned int str_len(char *s)
4
{
5
register char *t;
6
7
t = s;
8
for (;;) {
9
if (!*t) return t - s; ++t;
10
11
12
13
}
14