|
|
1.1 root 1: /*
2: * Returns the number of
3: * non-NULL bytes in string argument.
4: */
5:
6: strlen(s)
7: register char *s;
8: {
9: register n;
10:
11: n = 0;
12: while (*s++)
13: n++;
14: return(n);
15: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.