1: /*
2: * Copyright (c) 1983, 1987 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)time.h 1.3 (2.11BSD) 96/7/10
7: */
8:
9: #include <sys/types.h> /* for time_t */
10:
11: /*
12: * Structure returned by gmtime and localtime calls (see ctime(3)).
13: */
14: struct tm {
15: int tm_sec;
16: int tm_min;
17: int tm_hour;
18: int tm_mday;
19: int tm_mon;
20: int tm_year;
21: int tm_wday;
22: int tm_yday;
23: int tm_isdst;
24: long tm_gmtoff;
25: char *tm_zone;
26: };
27:
28: extern struct tm *gmtime(), *localtime();
29: extern char *asctime(), *ctime();
30: extern time_t time();
Defined struct's
tm
defined in line
14; used 142 times
- in line 28(2)
- in /usr/src/bin/tcsh/sh.hist.c line
198(2)
- in /usr/src/bin/tcsh/tc.prompt.c line
63(2)
- in /usr/src/bin/tcsh/tc.sched.c line
75(2)
- in /usr/src/bin/tcsh/tc.who.c line
438(2)
- in /usr/src/bin/write.c line
47(2)
- in /usr/src/games/hack/hack.unix.c line
35-39(4),
54(2),
66(2)
- in /usr/src/games/pdp/zork/z.c line
125(2)
- in /usr/src/games/phantasia/main.c line
559(2)
- in /usr/src/games/rogue/machdep.c line
277(2),
313(2)
- in /usr/src/libexec/ftpd/ftpcmd.y line
457-458(4)
- in /usr/src/local/afio/afio.c line
174(2)
- in /usr/src/local/mp/misc.c line
26(2)
- in /usr/src/local/mp/mp.h line
85(2),
91(2)
- in /usr/src/local/mtools/dir_write.c line
149(2)
- in /usr/src/local/mtools/mread.c line
249(2)
- in /usr/src/new/PORT/dungeon/rtim.c line
23-24(4),
49(2)
- in /usr/src/new/PORT/perl.1.0.0/arg.c line
589(2)
- in /usr/src/new/PORT/perl.1.0.0/perl.h line
184(2)
- in /usr/src/new/PORT/perl.1.0.10/arg.c line
606(2)
- in /usr/src/new/PORT/perl.1.0.10/perl.h line
213(2)
- in /usr/src/new/PORT/perl.1.0.16/arg.c line
625(2)
- in /usr/src/new/kermit5.188/ckufio.c line
1774(2),
1859(2)
- in /usr/src/new/kermit5.188/ckutio.c line
5077-5078(4),
5095-5096(4)
- in /usr/src/new/nntp/server/time.c line
138(2)
- in /usr/src/new/nntp/support/mkgrdates.c line
63(2)
- in /usr/src/new/notes/src/getdate.y line
125(2),
152(2),
178(2),
470(2)
- in /usr/src/new/notes/src/gtime.c line
39-40(4)
- in /usr/src/new/notes/src/newsdump.c line
541-546(6)
- in /usr/src/old/dump/unctime.c line
25(2),
65-72(6),
98(2)
- in /usr/src/sbin/dump/unctime.c line
25(2),
65-72(6),
98(2)
- in /usr/src/share/zoneinfo/zdump.c line
18(2),
181-182(4)
- in /usr/src/ucb/ftp/cmds.c line
586(2)
- in /usr/src/ucb/leave.c line
37(2)
- in /usr/src/usr.bin/roff/common_source/n1.c line
400(2)
- in /usr/src/usr.bin/uucp/gnxseq.c line
26-27(4)
- in /usr/src/usr.bin/uucp/logent.c line
82-83(4),
148-149(4)
- in /usr/src/usr.lib/libstubs/stubtest.c line
8(2),
58(2)
Usage of this include