12 lines
100 B
C
12 lines
100 B
C
/* $Id$ */
|
|
int
|
|
strlen(s)
|
|
char *s;
|
|
{
|
|
register char *b = s;
|
|
|
|
while (*b++)
|
|
;
|
|
return b - s - 1;
|
|
}
|