home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c329 / 2.img / INCL / TIME.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-03  |  1001 b   |  42 lines

  1. /*
  2.  *    time.h
  3.  *
  4.  *    Copyright (C) MicroWay, Inc., 1987, 1988, 1989
  5.  *
  6.  */
  7.  
  8. struct tm {
  9.         int     tm_sec;         /* Time of day, seconds (0-59). */
  10.         int     tm_min;         /* Time of day, minutes (0-59). */
  11.         int     tm_hour;        /* Time of day, hours (0-23). */
  12.         int     tm_mday;        /* Day of the month (1-31). */
  13.         int     tm_mon;         /* Months since January (0-11). */
  14.         int     tm_year;        /* Years since 1900. */
  15.         int     tm_wday;        /* Days since Sunday (0-6). */
  16.         int     tm_yday;        /* Days since January 1 (0-365). */
  17.         int     tm_isdst;       /* Non-0 if DST in effect (not used). */
  18. };
  19.  
  20.  
  21.  
  22. struct timeval {        /* Time since epoch. */
  23.     int    tv_sec;        /* Seconds. */
  24.     int    tv_usec;    /* Microseconds. */
  25. };
  26.  
  27.  
  28.  
  29. struct timezone {        /* Timezone ID. */
  30.     char    name[3];
  31. };
  32.  
  33.  
  34.  
  35. struct tm    *localtime();
  36. void        timedate(),
  37.         time_(),
  38.         idate_(),
  39.         date_();
  40. int        secnds_();
  41. int        sec_100_();
  42.