X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Ftime.h;h=41075dbc81c9f71d090db9e878ed9041d24945f1;hb=2d43dbb1c70aee6c3474c254c0a2302ef39c0c7a;hp=3fc090e2a5a6bab645b7800abe4e82987bd4abc1;hpb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;p=pdclib.old 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