Annotation of researchv10dc/cmd/pascal/libpc/RSNG4.c, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1979 Regents of the University of California */
                      2: 
                      3: static char sccsid[] = "@(#)RSNG4.c 1.3 6/10/81";
                      4: 
                      5: 
                      6: long
                      7: RSNG4(value, upper)
                      8: 
                      9:        long    value;
                     10:        long    upper;
                     11: {
                     12:        if (value < 0 || value > upper) {
                     13:                ERROR("Value of %ld is out of range\n", value);
                     14:                return;
                     15:        }
                     16:        return  value;
                     17: }

unix.superglobalmegacorp.com

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