Annotation of 40BSD/lib/libpc/SEED.c, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1979 Regents of the University of California */
                      2: 
                      3: static char sccsid[] = "@(#)SEED.c 1.1 10/29/80";
                      4: 
                      5: SEED(value)
                      6: 
                      7:        long    value;
                      8: {
                      9:        static long     seed;
                     10:        long            tmp;
                     11: 
                     12:        srand(value);
                     13:        tmp = seed;
                     14:        seed = value;
                     15:        return tmp;
                     16: }

unix.superglobalmegacorp.com

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