Annotation of 43BSD/contrib/mh/zotnet/tws/tws.h, revision 1.1

1.1     ! root        1: /* tws.h */
        !             2: 
        !             3: struct tws {
        !             4:     int     tw_sec;
        !             5:     int     tw_min;
        !             6:     int     tw_hour;
        !             7: 
        !             8:     int     tw_mday;
        !             9:     int     tw_mon;
        !            10:     int     tw_year;
        !            11: 
        !            12:     int     tw_wday;
        !            13:     int     tw_yday;
        !            14: 
        !            15:     int     tw_zone;
        !            16: 
        !            17:     long    tw_clock;
        !            18: 
        !            19:     int     tw_flags;
        !            20: #define        TW_NULL 0x0000
        !            21: #define        TW_SDAY 0x0007          /* how day-of-week was determined */
        !            22: #define          TW_SNIL       0x0000  /*   not given */
        !            23: #define          TW_SEXP       0x0001  /*   explicitly given */
        !            24: #define          TW_SIMP       0x0002  /*   implicitly given */
        !            25: #define        TW_DST  0x0010          /* daylight savings time */
        !            26: #define        TW_ZONE 0x0020          /* use numeric timezones only */
        !            27: };
        !            28: 
        !            29: void    twscopy ();
        !            30: int    twsort ();
        !            31: long   twclock ();
        !            32: char   *dasctime (), *dtimezone (), *dctime (), *dtimenow ();
        !            33: struct tws *dgmtime(), *dlocaltime (), *dparsetime (), *dtwstime ();
        !            34: 
        !            35: #ifndef        ATZ
        !            36: #define        dtime(cl)       dasctime (dlocaltime (cl), TW_ZONE)
        !            37: #else  ATZ
        !            38: #define        dtime(cl)       dasctime (dlocaltime (cl), TW_NULL)
        !            39: #endif ATZ
        !            40: #define        dtwszone(tw)    dtimezone (tw -> tw_zone, tw -> tw_flags)
        !            41: 
        !            42: 
        !            43: extern char   *tw_dotw[], *tw_ldotw[], *tw_moty[];

unix.superglobalmegacorp.com

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