1: #
   2: /*
   3: **  IISEQUAL -- String equality comparison
   4: **
   5: **	Parameters:
   6: **		s1, s2 -- strings to be tested for absolute equality
   7: **
   8: **	Returns:
   9: **		1 -- if =
  10: **		0 otherwise
  11: **
  12: **	Side Effects:
  13: **		none
  14: **
  15: **	Called By:
  16: **		IIgetpath() [IIingres.c]
  17: **
  18: **	History:
  19: **		3/25/79 -- (marc) written
  20: */
  21: 
  22: IIsequal(s1, s2)
  23: char    *s1, *s2;
  24: {
  25:     register char   *r1, *r2;
  26: 
  27: 
  28:     r1 = s1;
  29:     r2 = s2;
  30:     while (*r1 || *r2)
  31:         if (*r1++ != *r2++)
  32:             return (0);
  33:     return (1);
  34: }

Defined functions

IIsequal defined in line 22; used 1 times
Last modified: 1980-12-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1609
Valid CSS Valid XHTML 1.0 Strict