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
- in line 33(2)
- in /usr/src/new/mh/sbr/fmtcompile.c line
348(2)
- in /usr/src/new/mh/sbr/formatsbr.c line
211(2)
- in /usr/src/new/mh/uip/mshcmds.c line
37(2),
2406(2),
2494(2),
2502(2)
- in /usr/src/new/mh/uip/picksbr.c line
95(2),
134(2),
797-800(4),
811-816(4),
855-860(4),
904(2)
- in /usr/src/new/mh/uip/slocal.c line
94(2)
- in /usr/src/new/mh/uip/sortm.c line
28(2),
36(2),
157-159(4),
193(2),
203(2)
- in /usr/src/new/mh/zotnet/mf/uumm.c line
571(2)
- in /usr/src/new/mh/zotnet/tws/dtest.c line
13(2)
- in /usr/src/new/mh/zotnet/tws/dtime.c line
112(2),
129(2),
137(2),
144(2),
175-179(4),
206(2),
264(2),
286(2),
313(2),
363(2)
- in /usr/src/new/mh/zotnet/tws/dtimep.c line
79-83(4)
Defined macros
dtime
defined in line
38; used 5 times
Usage of this include