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: }