Annotation of 41BSD/lib/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.1 10/29/80";
                      4: 
                      5: 
                      6: #include "h01errs.h"
                      7: 
                      8: RSNG4(value, upper)
                      9: 
                     10:        int     value;
                     11:        int     upper;
                     12: {
                     13:        if (value < 0 || value > upper) {
                     14:                ERROR(ERANGE, value);
                     15:                return;
                     16:        }
                     17:        return  value;
                     18: }

unix.superglobalmegacorp.com

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