1 /**************************************************************** 2 Copyright 1990 - 1997 by AT&T, Lucent Technologies and Bellcore. 3 4 Permission to use, copy, modify, and distribute this software 5 and its documentation for any purpose and without fee is hereby 6 granted, provided that the above copyright notice appear in all 7 copies and that both that the copyright notice and this 8 permission notice and warranty disclaimer appear in supporting 9 documentation, and that the names of AT&T, Bell Laboratories, 10 Lucent or Bellcore or any of their entities not be used in 11 advertising or publicity pertaining to distribution of the 12 software without specific, written prior permission. 13 14 AT&T, Lucent and Bellcore disclaim all warranties with regard to 15 this software, including all implied warranties of 16 merchantability and fitness. In no event shall AT&T, Lucent or 17 Bellcore be liable for any special, indirect or consequential 18 damages or any damages whatsoever resulting from loss of use, 19 data or profits, whether in an action of contract, negligence or 20 other tortious action, arising out of or in connection with the 21 use or performance of this software. 22 ****************************************************************/ 23 24 #include "f2c.h" 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 30 extern integer s_cmp(const char *a0, const char *b0, ftnlen la, ftnlen lb); 31 l_ge(char * a,char * b,ftnlen la,ftnlen lb)32 logical l_ge(char *a, char *b, ftnlen la, ftnlen lb) 33 { 34 return(s_cmp(a,b,la,lb) >= 0); 35 } l_gt(char * a,char * b,ftnlen la,ftnlen lb)36 logical l_gt(char *a, char *b, ftnlen la, ftnlen lb) 37 { 38 return(s_cmp(a,b,la,lb) > 0); 39 } l_le(char * a,char * b,ftnlen la,ftnlen lb)40 logical l_le(char *a, char *b, ftnlen la, ftnlen lb) 41 { 42 return(s_cmp(a,b,la,lb) <= 0); 43 } l_lt(char * a,char * b,ftnlen la,ftnlen lb)44 logical l_lt(char *a, char *b, ftnlen la, ftnlen lb) 45 { 46 return(s_cmp(a,b,la,lb) < 0); 47 } 48 49 #ifdef __cplusplus 50 } 51 #endif 52