Annotation of researchv10no/cmd/upas/libc/tzset.c, revision 1.1

1.1     ! root        1: #include <sys/types.h>
        !             2: #include <sys/timeb.h>
        !             3: /*
        !             4:  *     mimic system V's wretched timezone stuff for v8 and 4.2
        !             5:  */
        !             6: 
        !             7: char *tzname[2];
        !             8: 
        !             9: void
        !            10: tzset() {
        !            11:        struct timeb timbuf;
        !            12:        extern char *timezone();
        !            13: 
        !            14:        ftime(&timbuf);
        !            15:        tzname[0] = timezone(timbuf.timezone, 0);
        !            16:        tzname[1] = timezone(timbuf.timezone, 1);
        !            17: }

unix.superglobalmegacorp.com

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