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[];

Defined struct's

tws defined in line 3; used 76 times

Defined macros

TW_SDAY defined in line 21; used 6 times
TW_SIMP defined in line 24; used 5 times
TW_SNIL defined in line 22; used 1 times
TW_ZONE defined in line 26; used 3 times
dtwszone defined in line 40; used 4 times

Usage of this include

Last modified: 1986-04-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 603
Valid CSS Valid XHTML 1.0 Strict