projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Research V7 development
[unix-history]
/
usr
/
src
/
libc
/
gen
/
strlen.c
Commit
Line
Data
6b23496e
DR
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
}