Annotation of researchv8dc/sys/chunix/chtime.c, revision 1.1.1.1

1.1       root        1: #include "../h/param.h"
                      2: #include "../h/systm.h"
                      3: /*
                      4:  * Return the time according to the chaos TIME protocol, in a long.
                      5:  * No byte shuffling need be done here, just time conversion.
                      6:  */
                      7: ch_time(tp)
                      8: register long *tp;
                      9: {
                     10:        *tp = time;
                     11:        *tp += 60L*60*24*((1970-1900)*365L + 1970/4 - 1900/4);
                     12: }

unix.superglobalmegacorp.com

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