X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Ftime.h;h=41075dbc81c9f71d090db9e878ed9041d24945f1;hb=3862b03514c94f37966f61693619e6483ead6045;hp=784685d0d037fb24dc59f28d7683e50d0fcb8915;hpb=f2e874bbb30fa8857975a683a17dce7669524520;p=pdclib.old diff --git a/includes/time.h b/includes/time.h index 784685d..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,7 +29,8 @@ _PDCLIB_DEFINE_STRUCT_TIMESPEC() _PDCLIB_DEFINE_STRUCT_TM() #endif -time_t time(time_t* t); +time_t time( time_t* t ) _PDCLIB_nothrow; +int timespec_get( struct timespec *ts, int base ) _PDCLIB_nothrow; _PDCLIB_END_EXTERN_C #endif