Commit | Line | Data |
---|---|---|
57d61f88 KM |
1 | /* Copyright (c) 1979 Regents of the University of California */ |
2 | ||
492cc5d3 | 3 | static char sccsid[] = "@(#)RELSLE.c 1.2 %G%"; |
57d61f88 KM |
4 | |
5 | #include "h00vars.h" | |
6 | ||
492cc5d3 KM |
7 | bool |
8 | RELSLE(siz, str1, str2) | |
57d61f88 | 9 | |
492cc5d3 | 10 | long siz; |
57d61f88 KM |
11 | register char *str1; |
12 | register char *str2; | |
13 | { | |
492cc5d3 KM |
14 | register int size = siz; |
15 | ||
57d61f88 KM |
16 | while (*str1++ == *str2++ && --size) |
17 | /* void */; | |
18 | if ((size == 0) || (*--str1 <= *--str2)) | |
19 | return TRUE; | |
20 | return FALSE; | |
21 | } |