V7M/src/libc/gen/strlen.c

Compare this file to the similar file:
Show the results in this format:

/*
 * Returns the number of
 * non-NULL bytes in string argument.
 */

strlen(s)
register char *s;
{
	register n;

	n = 0;
	while (*s++)
		n++;
	return(n);
}