# 2.11BSD#431 - /usr/include/time.h

##### struct's

    tm                X

       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

time.h used 56 times

- in /usr/src/bin/mail.c line 19
- in /usr/src/bin/tcsh/sh.h line 120, 178
- in /usr/src/bin/who.c line 21
- in /usr/src/bin/write.c line 18
- in /usr/src/games/boggle/boggle.c line 21
- in /usr/src/games/hack/hack.unix.c line 22-24(2)
- in /usr/src/games/pdp/zork/z.c line 5
- in /usr/src/games/phantasia/phant.h line 7
- in /usr/src/games/rogue/machdep.c line 65-70(2)
- in /usr/src/lib/libc/gen/syslog.c line 49
- in /usr/src/libexec/comsat/comsat.c line 39
- in /usr/src/libexec/ftpd/ftpcmd.y line 45
- in /usr/src/local/afio/afio.c line 44-46(2)
- in /usr/src/local/mp/mp.h line 22
- in /usr/src/local/mtools/dir_make.c line 2
- in /usr/src/local/mtools/dir_write.c line 2
- in /usr/src/local/mtools/mread.c line 18-20(2)
- in /usr/src/new/PORT/perl.1.0.0/perl.h line 25
- in /usr/src/new/PORT/perl.1.0.0/x2p/a2p.h line 174
- in /usr/src/new/PORT/perl.1.0.10/perl.h line 38-40(2)
- in /usr/src/new/PORT/perl.1.0.10/x2p/a2p.h line 185
- in /usr/src/new/PORT/perl.1.0.16/perl.h line 38-40(2)
- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 188
- in /usr/src/new/kermit5.188/ckufio.c line 125, 132, 142
- in /usr/src/new/kermit5.188/ckutio.c line 452-455(2), 469, 539
- in /usr/src/new/notes/src/getdate.y line 28-30(2)
- in /usr/src/new/notes/src/newsdump.c line 535-537(2)
- in /usr/src/old/dump/unctime.c line 2
- in /usr/src/sbin/dump/unctime.c line 2
- in /usr/src/share/zoneinfo/zdump.c line 9
- in /usr/src/share/zoneinfo/zic.c line 11
- in /usr/src/sys/h/time.h line 75
- in /usr/src/ucb/ftp/cmds.c line 37
- in /usr/src/ucb/leave.c line 17
- in /usr/src/ucb/pascal/pi/version.c line 11
- in /usr/src/usr.bin/ranlib/touch.c line 47
- in /usr/src/usr.bin/roff/common_source/n1.c line 8
- in /usr/src/usr.bin/uucp/gnxseq.c line 7-9(2)
- in /usr/src/usr.bin/uucp/logent.c line 7-9(2)
- in /usr/src/usr.lib/libstubs/stubtest.c line 4

Last modified: 1996-07-11 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 615 |