loc_time.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define YEAR0   1900
#define EPOCH_YR   1970
#define SECS_DAY   (24L * 60L * 60L)
#define LEAPYEAR(year)   (!((year) % 4) && (((year) % 100) || !((year) % 400)))
#define YEARSIZE(year)   (LEAPYEAR(year) ? 366 : 365)
#define FIRSTSUNDAY(timp)   (((timp)->tm_yday - (timp)->tm_wday + 420) % 7)
#define FIRSTDAYOF(timp)   (((timp)->tm_wday - (timp)->tm_yday + 420) % 7)
#define TIME_MAX   ULONG_MAX
#define ABB_LEN   3

Functions

void _tzset (void)
unsigned _dstget (struct tm *timep)

Variables

const int _ytab [2][12]
const char * _days []
const char * _months []
long _timezone
long _dst_off
int _daylight
char * _tzname [2]


Define Documentation

#define ABB_LEN   3
 

Definition at line 14 of file loc_time.h.

Referenced by asctime(), and strftime().

#define EPOCH_YR   1970
 

Definition at line 7 of file loc_time.h.

Referenced by gmtime(), and mktime().

#define FIRSTDAYOF timp   )     (((timp)->tm_wday - (timp)->tm_yday + 420) % 7)
 

Definition at line 12 of file loc_time.h.

Referenced by date_of().

#define FIRSTSUNDAY timp   )     (((timp)->tm_yday - (timp)->tm_wday + 420) % 7)
 

Definition at line 11 of file loc_time.h.

Referenced by last_sunday().

#define LEAPYEAR year   )     (!((year) % 4) && (((year) % 100) || !((year) % 400)))
 

Definition at line 9 of file loc_time.h.

Referenced by date_of(), gmtime(), last_sunday(), and mktime().

#define SECS_DAY   (24L * 60L * 60L)
 

Definition at line 8 of file loc_time.h.

Referenced by gmtime(), and mktime().

#define TIME_MAX   ULONG_MAX
 

Definition at line 13 of file loc_time.h.

Referenced by mktime().

#define YEAR0   1900
 

Definition at line 6 of file loc_time.h.

Referenced by date_of(), gmtime(), last_sunday(), mktime(), and strftime().

#define YEARSIZE year   )     (LEAPYEAR(year) ? 366 : 365)
 

Definition at line 10 of file loc_time.h.

Referenced by gmtime().


Function Documentation

unsigned _dstget struct tm timep  ) 
 

Referenced by localtime(), and mktime().

void _tzset void   ) 
 

Definition at line 287 of file misc.c.

References _daylight, _ftime(), _timezone, _tzname, getenv(), L, parseTZ(), time, timezone, timeb::timezone, tz, and tzname.

Referenced by _dstget(), localtime(), mktime(), strftime(), and tzset().


Variable Documentation

int _daylight
 

Definition at line 51 of file misc.c.

Referenced by _dstget(), _tzset(), and parseTZ().

const char* _days[]
 

Definition at line 70 of file misc.c.

Referenced by asctime(), and strftime().

long _dst_off
 

Definition at line 50 of file misc.c.

Referenced by _dstget(), mktime(), and parseTZ().

const char* _months[]
 

Definition at line 75 of file misc.c.

Referenced by asctime(), and strftime().

long _timezone
 

Definition at line 49 of file misc.c.

Referenced by _tzset(), localtime(), mktime(), and parseTZ().

char* _tzname[2]
 

Definition at line 52 of file misc.c.

Referenced by _tzset(), parseTZ(), and strftime().

const int _ytab[2][12]
 

Definition at line 82 of file misc.c.

Referenced by date_of(), gmtime(), and mktime().


Generated on Fri Apr 14 23:15:33 2006 for minix by  doxygen 1.4.6