1*40865Sbostic /*- 2*40865Sbostic * Copyright (c) 1979 The Regents of the University of California. 3*40865Sbostic * All rights reserved. 4*40865Sbostic * 5*40865Sbostic * %sccs.include.redist.c% 6*40865Sbostic */ 71688Smckusick 8*40865Sbostic #ifndef lint 9*40865Sbostic static char sccsid[] = "@(#)RELSLE.c 1.3 (Berkeley) 04/09/90"; 10*40865Sbostic #endif /* not lint */ 111688Smckusick 121688Smckusick #include "h00vars.h" 131688Smckusick 143021Smckusic bool 153021Smckusic RELSLE(siz, str1, str2) 161688Smckusick 173021Smckusic long siz; 181688Smckusick register char *str1; 191688Smckusick register char *str2; 201688Smckusick { 213021Smckusic register int size = siz; 223021Smckusic 231688Smckusick while (*str1++ == *str2++ && --size) 241688Smckusick /* void */; 251688Smckusick if ((size == 0) || (*--str1 <= *--str2)) 261688Smckusick return TRUE; 271688Smckusick return FALSE; 281688Smckusick } 29