1: #if defined(LIBC_SCCS) && !defined(lint)
   2: static char sccsid[] = "@(#)strlen.c	5.2 (Berkeley) 3/9/86";
   3: #endif LIBC_SCCS and not lint
   4: 
   5: /*
   6:  * Returns the number of
   7:  * non-NULL bytes in string argument.
   8:  */
   9: 
  10: strlen(s)
  11: register char *s;
  12: {
  13:     register n;
  14: 
  15:     n = 0;
  16:     while (*s++)
  17:         n++;
  18:     return(n);
  19: }

Defined functions

strlen defined in line 10; used 2203 times

Defined variables

sccsid defined in line 2; never used
Last modified: 1986-03-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1722
Valid CSS Valid XHTML 1.0 Strict