/* @(#)strlen.c 4.1 (Berkeley) 12/21/80 */ /* * Returns the number of * non-NULL bytes in string argument. */ strlen(s) register char *s; { register n; n = 0; while (*s++) n++; return(n); }