time.h File Reference

#include <ansi.h>

Include dependency graph for time.h:

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

Go to the source code of this file.

Data Structures

struct  tm

Defines

#define CLOCKS_PER_SEC   60
#define NULL   ((void *)0)

Typedefs

typedef unsigned int size_t
typedef long time_t
typedef long clock_t

Functions

 _PROTOTYPE (clock_t clock,(void))
 _PROTOTYPE (double difftime,(time_t _time1, time_t _time0))
 _PROTOTYPE (time_t mktime,(struct tm *_timeptr))
 _PROTOTYPE (time_t time,(time_t *_timeptr))
 _PROTOTYPE (char *asctime,(const struct tm *_timeptr))
 _PROTOTYPE (char *ctime,(const time_t *_timer))
 _PROTOTYPE (struct tm *gmtime,(const time_t *_timer))
 _PROTOTYPE (size_t strftime,(char *_s, size_t _max, const char *_fmt, const struct tm *_timep))

Variables

char * tzname []
long timezone


Define Documentation

#define CLOCKS_PER_SEC   60
 

Definition at line 12 of file time.h.

Referenced by main(), print_time(), sysconf(), and test2g().

#define NULL   ((void *)0)
 

Definition at line 18 of file time.h.


Typedef Documentation

typedef long clock_t
 

Definition at line 32 of file time.h.

typedef unsigned int size_t
 

Definition at line 22 of file time.h.

typedef long time_t
 

Definition at line 27 of file time.h.


Function Documentation

_PROTOTYPE size_t  strftime,
(char *_s, size_t _max, const char *_fmt, const struct tm *_timep) 
 

_PROTOTYPE struct tm gmtime,
(const time_t *_timer) 
 

_PROTOTYPE char *  ctime,
(const time_t *_timer) 
 

_PROTOTYPE char *  asctime,
(const struct tm *_timeptr) 
 

_PROTOTYPE time_t  time,
(time_t *_timeptr) 
 

_PROTOTYPE time_t  mktime,
(struct tm *_timeptr) 
 

_PROTOTYPE double  difftime,
(time_t _time1, time_t _time0) 
 

_PROTOTYPE clock_t  clock,
(void) 
 


Variable Documentation

long timezone
 

Referenced by _tzset(), conv_stamp(), and main().

char* tzname[]
 

Referenced by _tzset(), doSTAT(), fmtdate(), and main().


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