1: /* strindex.c - "unsigned" lexical index */
   2: 
   3: 
   4: int  stringdex (p1, p2)
   5: register char  *p1,
   6:                *p2;
   7: {
   8:     register char  *p;
   9: 
  10:     for (p = p2; *p; p++)
  11:     if (uprf (p, p1))
  12:         return (p - p2);
  13: 
  14:     return (-1);
  15: }

Defined functions

stringdex defined in line 4; used 2 times
Last modified: 1985-09-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 697
Valid CSS Valid XHTML 1.0 Strict