home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
STRLEN.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
128b
|
10 lines
/*
** return length of s
*/
strlen(s) char *s; {
char *t;
t = s - 1;
while (*++t) ;
return (t - s);
}