Netcruzer Library API
V2.03
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
Groups
Pages
time.h
Go to the documentation of this file.
1
23
typedef
long
clock_t
24
25
31
#define size_t
32
33
34
44
struct
tm
{
45
int
tm_sec;
//seconds after the minute ( 0 to 61 )
46
//allows for up to two leap seconds
47
int
tm_min;
//minutes after the hour ( 0 to 59 )
48
int
tm_hour;
//hours since midnight ( 0 to 23 )
49
int
tm_mday;
//day of month ( 1 to 31 )
50
int
tm_mon;
//month ( 0 to 11 where January = 0 )
51
int
tm_year;
//years since 1900
52
int
tm_wday;
//day of week ( 0 to 6 where Sunday = 0)
53
int
tm_yday;
//day of year ( 0 to 365 where January 1 = 0 )
54
int
tm_isdst;
//Daylight Savings Time flag
55
}
56
57
58
59
65
typedef
long
time_t
66
67
68
78
#define CLOCKS_PER_SEC
79
80
81
87
NULL
88
89
90
130
char
*
asctime
(
const
struct
tm
*tptr);
131
132
165
clock_t
clock
(
void
);
166
167
168
202
char
*
ctime
(
const
time_t *tod);
203
204
205
243
double
difftime
(time_t t1, time_t t0);
244
245
246
280
struct
tm
*
gmtime
(
const
time_t *tod);
281
282
283
315
struct
tm
*
localtime
(
const
time_t *tod);
316
317
318
354
time_t
mktime
(
struct
tm
*tptr);
355
356
357
431
size_t
strftime(
char
*s,
size_t
n,
432
433
434
465
time_t time(time_t *tod);
system
time.h
Generated on Tue Dec 9 2014 15:08:19 for Netcruzer Library API by
1.8.4