1: # include   <useful.h>
   2: # include   <sccs.h>
   3: 
   4: SCCSID(@(#)sequal.c	8.2	2/5/85)
   5: 
   6: /*
   7: **  SEQUAL -- string equality test
   8: **
   9: **	null-terminated strings `a' and `b' are tested for
  10: **		absolute equality.
  11: **	returns one if equal, zero otherwise.
  12: */
  13: 
  14: sequal(a, b)
  15: register char   *a, *b;
  16: {
  17:     while (*a || *b)
  18:         if (*a++ != *b++)
  19:             return(FALSE);
  20:     return(TRUE);
  21: }

Defined functions

sequal defined in line 4; never used
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 472
Valid CSS Valid XHTML 1.0 Strict