/* @(#)strlen.c 2.1 SCCS id keyword */ /* * Returns the number of * non-NULL bytes in string argument. */ strlen(s) register char *s; { register n; n = 0; while (*s++) n++; return(n); }