ack/lang/cem/libcc/gen/strlen.c
1994-06-24 14:02:31 +00:00

12 lines
100 B
C

/* $Id$ */
int
strlen(s)
char *s;
{
register char *b = s;
while (*b++)
;
return b - s - 1;
}