1 #ifndef _PDCLIB_TIME_H
\r
2 #define _PDCLIB_TIME_H
\r
3 #include <_PDCLIB_aux.h>
\r
4 #include <_PDCLIB_int.h>
\r
6 _PDCLIB_BEGIN_EXTERN_C
\r
7 #ifndef _PDCLIB_SIZE_T_DEFINED
\r
8 #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
\r
9 typedef _PDCLIB_size_t size_t;
\r
12 #ifndef _PDCLIB_NULL_DEFINED
\r
13 #define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
\r
14 #define NULL _PDCLIB_NULL
\r
17 typedef _PDCLIB_time_t time_t;
\r
18 typedef _PDCLIB_clock_t clock_t;
\r
20 #define TIME_UTC _PDCLIB_TIME_UTC
\r
22 #ifndef _PDCLIB_STRUCT_TIMESPEC_DEFINED
\r
23 #define _PDCLIB_STRUCT_TIMESPEC_DEFINED
\r
24 _PDCLIB_DEFINE_STRUCT_TIMESPEC()
\r
27 #ifndef _PDCLIB_STRUCT_TM_DEFINED
\r
28 #define _PDCLIB_STRUCT_TM_DEFINED
\r
29 _PDCLIB_DEFINE_STRUCT_TM()
\r
32 time_t time( time_t* t ) _PDCLIB_nothrow;
\r
33 int timespec_get( struct timespec *ts, int base ) _PDCLIB_nothrow;
\r
35 _PDCLIB_END_EXTERN_C
\r