date and time created 80/10/31 14:39:48 by mckusick
[unix-history] / usr / src / usr.bin / pascal / libpc / RELSGT.c
CommitLineData
4c9a21e8
KM
1/* Copyright (c) 1979 Regents of the University of California */
2
3static char sccsid[] = "@(#)RELSGT.c 1.1 %G%";
4
5#include "h00vars.h"
6
7RELSGT(size, str1, str2)
8
9 register int size;
10 register char *str1;
11 register char *str2;
12{
13 while (*str1++ == *str2++ && --size)
14 /* void */;
15 if ((size == 0) || (*--str1 <= *--str2))
16 return FALSE;
17 return TRUE;
18}