ack/lang/cem/libcc/gen/strlen.c
1989-02-22 16:16:11 +00:00

12 lines
104 B
C

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