1: /*
   2: **  FIND STRING LENGTH
   3: **
   4: **	The length of string `s' (excluding the null byte which
   5: **		terminates the string) is returned.
   6: */
   7: 
   8: length(s)
   9: char    *s;
  10: {
  11:     register int    l;
  12:     register char   *p;
  13: 
  14:     l = 0;
  15:     p = s;
  16:     while (*p++)
  17:         l++;
  18:     return(l);
  19: }
Last modified: 1980-12-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1784
Valid CSS Valid XHTML 1.0 Strict