Annotation of 43BSDTahoe/usr.lib/libpc/RELSLT.c, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1979 Regents of the University of California */
                      2: 
                      3: static char sccsid[] = "@(#)RELSLT.c 1.2 3/7/81";
                      4: 
                      5: #include "h00vars.h"
                      6: 
                      7: bool
                      8: RELSLT(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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.