too much information...
[unix-history] / usr / src / usr.bin / pascal / libpc / RELSLT.c
... / ...
CommitLineData
1/* Copyright (c) 1979 Regents of the University of California */
2
3static char sccsid[] = "@(#)RELSLT.c 1.2 %G%";
4
5#include "h00vars.h"
6
7bool
8RELSLT(siz, str1, str2)
9
10 long siz;
11 register char *str1;
12 register char *str2;
13{
14 register int size = siz;
15
16 while (*str1++ == *str2++ && --size)
17 /* void */;
18 if ((size == 0) || (*--str1 >= *--str2))
19 return FALSE;
20 return TRUE;
21}