1: /**
   2:  **	STRING EQUALITY TEST
   3:  **		null-terminated strings `a' and `b' are tested for
   4:  **			absolute equality.
   5:  **		returns one if equal, zero otherwise.
   6:  **/
   7: 
   8: sequal(a, b)
   9: char    *a, *b;
  10: {
  11:     register char       *p, *q;
  12: 
  13:     p = a;
  14:     q = b;
  15:     while (*p || *q)
  16:         if (*p++ != *q++)
  17:             return(0);
  18:     return(1);
  19: }

Defined functions

Last modified: 1980-12-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 461
Valid CSS Valid XHTML 1.0 Strict