X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Ftime.h;h=41075dbc81c9f71d090db9e878ed9041d24945f1;hp=3fc090e2a5a6bab645b7800abe4e82987bd4abc1;hb=76ee46321244f74eee3b5df0800ffdee0e8c3c37;hpb=b41576197133c1211d6ec353faf93f505f573b8a diff --git a/includes/time.h b/includes/time.h index 3fc090e..41075db 100644 --- a/includes/time.h +++ b/includes/time.h @@ -17,6 +17,8 @@ typedef _PDCLIB_size_t size_t; typedef _PDCLIB_time_t time_t; typedef _PDCLIB_clock_t clock_t; +#define TIME_UTC _PDCLIB_TIME_UTC + #ifndef _PDCLIB_STRUCT_TIMESPEC_DEFINED #define _PDCLIB_STRUCT_TIMESPEC_DEFINED _PDCLIB_DEFINE_STRUCT_TIMESPEC() @@ -27,5 +29,8 @@ _PDCLIB_DEFINE_STRUCT_TIMESPEC() _PDCLIB_DEFINE_STRUCT_TM() #endif +time_t time( time_t* t ) _PDCLIB_nothrow; +int timespec_get( struct timespec *ts, int base ) _PDCLIB_nothrow; + _PDCLIB_END_EXTERN_C #endif