37 #ifndef _CRT_NO_TIME_T 
   48 #define CLOCKS_PER_SEC  ((clock_t)1000) 
   61 _ACRTIMP int* __cdecl __daylight(
void);
 
   63 #define _daylight (*__daylight()) 
   67 _ACRTIMP long* __cdecl __dstbias(
void);
 
   69 #define _dstbias (*__dstbias()) 
   73 _ACRTIMP long* __cdecl __timezone(
void);
 
   75 #define _timezone (*__timezone()) 
   79 _ACRTIMP char** __cdecl __tzname(
void);
 
   81 #define _tzname (__tzname()) 
   90     _Out_ long* _DaylightSavingsBias
 
  100     _Out_                        size_t* _ReturnValue,
 
  120 #if __STDC_WANT_SECURE_LIB__ 
  133     _In_                     struct tm const*, _Time
 
  149     _In_range_(>=,26)                                   
size_t            _SizeInBytes,
 
  169     _In_range_(>=,26)                                     
size_t            _SizeInBytes,
 
  180 _ACRTIMP double __cdecl _difftime32(
 
  193 _ACRTIMP struct tm* __cdecl _gmtime32(
 
  199     _Out_ struct tm*        _Tm,
 
  205 _ACRTIMP struct tm* __cdecl _gmtime64(
 
  211     _Out_ struct tm*        _Tm,
 
  217 _ACRTIMP struct tm* __cdecl _localtime32(
 
  223     _Out_ struct tm*        _Tm,
 
  229 _ACRTIMP struct tm* __cdecl _localtime64(
 
  235     _Out_ struct tm*        _Tm,
 
  265     _In_                          struct tm const* _Tm
 
  270 _ACRTIMP size_t __cdecl _strftime_l(
 
  281     _In_  _In_range_(>=, 9)                            
size_t _SizeInBytes
 
  297     _In_  _In_range_(>=, 9)                            
size_t _SizeInBytes
 
  320 _ACRTIMP 
int __cdecl _timespec32_get(
 
  327 _ACRTIMP 
int __cdecl _timespec64_get(
 
  339 #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP 
  341     _ACRTIMP 
void __cdecl 
_tzset(
void);
 
  352         _In_ unsigned   _Milliseconds
 
  364 #if !defined RC_INVOKED && !defined __midl && !defined _INC_TIME_INL && !defined _CRT_NO_TIME_T 
  366     #ifdef _USE_32BIT_TIME_T 
  373             #pragma warning(push) 
  374             #pragma warning(disable: 4996) 
  375             return _ctime32(_Time);
 
  385             return _difftime32(_Time1, _Time2);
 
  389         static __inline struct tm* 
__CRTDECL gmtime(
 
  393             #pragma warning(push) 
  394             #pragma warning(disable: 4996) 
  395             return _gmtime32(_Time);
 
  404             #pragma warning(push) 
  405             #pragma warning(disable: 4996) 
  406             return _localtime32(_Time);
 
  439             return _timespec32_get((
struct _timespec32*)_Ts, _Base);
 
  442         #if __STDC_WANT_SECURE_LIB__ 
  450                 return _ctime32_s(_Buffer, _SizeInBytes, _Time);
 
  455                 _Out_ struct tm*    
const _Tm,
 
  464                 _Out_ struct tm*    
const _Tm,
 
  472     #else // ^^^ _USE_32BIT_TIME_T ^^^ // vvv !_USE_32BIT_TIME_T vvv 
  479             #pragma warning(push) 
  480             #pragma warning(disable: 4996) 
  481             return _ctime64(_Time);
 
  495         static __inline struct tm* 
__CRTDECL gmtime(
 
  498             #pragma warning(push) 
  499             #pragma warning(disable: 4996) 
  500             return _gmtime64(_Time);
 
  509             #pragma warning(push) 
  510             #pragma warning(disable: 4996) 
  511             return _localtime64(_Time);
 
  544             return _timespec64_get((
struct _timespec64*)_Ts, _Base);
 
  547         #if __STDC_WANT_SECURE_LIB__ 
  555                 return _ctime64_s(_Buffer, _SizeInBytes, _Time);
 
  560                 _Out_ struct tm*    
const _Tm,
 
  569                 _Out_ struct tm*    
const _Tm,
 
  577     #endif // !_USE_32BIT_TIME_T 
  588 #if _CRT_INTERNAL_NONSTDC_NAMES 
  590     #define CLK_TCK CLOCKS_PER_SEC 
  592     #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP 
  596 #endif // _CRT_INTERNAL_NONSTDC_NAMES 
#define _Out_
Definition: sal.h:342
 
return
Definition: corecrt_memcpy_s.h:60
 
static _Check_return_wat_ __inline errno_t __CRTDECL localtime_s(_Out_ struct tm *const _Tm, _In_ time_t const *const _Time)
Definition: time.h:568
 
Definition: corecrt.h:489
 
_CRT_BEGIN_C_HEADER typedef long clock_t
Definition: time.h:23
 
#define _Ret_writes_z_(size)
Definition: sal.h:535
 
_Check_return_ _CRT_INSECURE_DEPRECATE_GLOBALS(_get_daylight) _ACRTIMP int *__cdecl __daylight(void)
 
_In_ size_t _In_z_ _Printf_format_string_ char const _In_ struct tm const _In_opt_ _locale_t _Locale
Definition: time.h:274
 
_Check_return_ _ACRTIMP __time64_t __cdecl _mkgmtime64(_Inout_ struct tm *_Tm)
 
long tv_nsec
Definition: time.h:34
 
_CRT_NONSTDC_DEPRECATE(_tzset) _ACRTIMP void __cdecl tzset(void)
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _localtime32_s(_Out_ struct tm *_Tm, _In_ __time32_t const *_Time)
 
#define _Out_opt_
Definition: sal.h:343
 
_Check_return_opt_ _ACRTIMP __time32_t __cdecl _mktime32(_Inout_ struct tm *_Tm)
 
__time32_t tv_sec
Definition: time.h:27
 
static _Check_return_ __inline int __CRTDECL timespec_get(_Out_ struct timespec *const _Ts, _In_ int const _Base)
Definition: time.h:539
 
#define _Check_return_opt_
Definition: corecrt.h:96
 
#define _Ret_z_
Definition: sal.h:521
 
_In_range_(>=, 26) size_t _SizeInBytes
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _gmtime64_s(_Out_ struct tm *_Tm, _In_ __time64_t const *_Time)
 
_CRT_OBSOLETE(iswctype) _DCRTIMP int __cdecl is_wctype(_In_ wint_t _C
 
_ACRTIMP void __cdecl _tzset(void)
 
_strdate
Definition: time.h:290
 
_ACRTIMP
Definition: time.h:290
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _ctime64_s(_Out_writes_z_(_SizeInBytes) _Post_readable_size_(26) char *_Buffer, _In_range_(>=, 26) size_t _SizeInBytes, _In_ __time64_t const *_Time)
 
int errno_t
Definition: corecrt.h:476
 
static __inline struct tm *__CRTDECL localtime(_In_ time_t const *const _Time)
Definition: time.h:505
 
#define _Check_return_wat_
Definition: corecrt.h:102
 
_Check_return_opt_ _ACRTIMP __time64_t __cdecl _mktime64(_Inout_ struct tm *_Tm)
 
#define _CRT_BEGIN_C_HEADER
Definition: vcruntime.h:73
 
_Success_(_Daylight!=0) _ACRTIMP errno_t __cdecl _get_daylight(_Out_ int *_Daylight)
 
_In_ size_t _In_ int _Index
Definition: time.h:102
 
static _Check_return_ __inline time_t __CRTDECL _mkgmtime(_Inout_ struct tm *const _Tm)
Definition: time.h:516
 
static _Check_return_opt_ __inline time_t __CRTDECL mktime(_Inout_ struct tm *const _Tm)
Definition: time.h:524
 
time_t tv_sec
Definition: time.h:40
 
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1(errno_t, asctime_s, _Post_readable_size_(26) char, _Buffer, _In_ struct tm const *, _Time) _Check_return_ _ACRTIMP clock_t __cdecl clock(void)
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _localtime64_s(_Out_ struct tm *_Tm, _In_ __time64_t const *_Time)
 
#define __CRTDECL
Definition: vcruntime.h:156
 
static _Check_return_wat_ __inline errno_t __CRTDECL gmtime_s(_Out_ struct tm *const _Tm, _In_ time_t const *const _Time)
Definition: time.h:559
 
__time64_t time_t
Definition: corecrt.h:517
 
#define _Check_return_
Definition: sal.h:554
 
#define _In_z_
Definition: sal.h:310
 
#define _In_
Definition: sal.h:305
 
_Buffer _ACRTIMP __time32_t __cdecl _time32(_Out_opt_ __time32_t *_Time)
 
long tv_nsec
Definition: time.h:41
 
_Check_return_ _CRT_INSECURE_DEPRECATE(ctime_s) static __inline char *__CRTDECL ctime(_In_ time_t const *const _Time)
Definition: time.h:474
 
#define _In_opt_
Definition: sal.h:306
 
_In_ int _Base
Definition: time.h:323
 
long __time32_t
Definition: corecrt.h:479
 
_In_ size_t _In_z_ _Printf_format_string_ char const * _Format
Definition: time.h:263
 
__DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t, _strdate_s, _Post_readable_size_(9) char, _Buffer) __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(_Success_(return!=0) char *
 
_DCRTIMP unsigned __cdecl _setsystime(_In_ struct tm *_Tm, _In_ unsigned _Milliseconds)
 
__time64_t tv_sec
Definition: time.h:33
 
#define _DCRTIMP
Definition: corecrt.h:43
 
_Check_return_wat_ *_SizeRead wchar_t * _Buffer
Definition: corecrt_wconio.h:27
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _gmtime32_s(_Out_ struct tm *_Tm, _In_ __time32_t const *_Time)
 
_In_ size_t _SizeInBytes
Definition: time.h:102
 
#define _Printf_format_string_
Definition: sal.h:558
 
_strtime
Definition: time.h:306
 
Definition: corecrt_wtime.h:22
 
#define _Deref_ret_z_
Definition: sal.h:1203
 
#define _CRT_END_C_HEADER
Definition: vcruntime.h:76
 
_DCRTIMP unsigned __cdecl _getsystime(_Out_ struct tm *_Tm)
 
static _Check_return_ __inline double __CRTDECL difftime(_In_ time_t const _Time1, _In_ time_t const _Time2)
Definition: time.h:486
 
long tv_nsec
Definition: time.h:28
 
static _Check_return_wat_ __inline errno_t __CRTDECL ctime_s(_Out_writes_(_SizeInBytes) _Post_readable_size_(26) char *const _Buffer, _In_range_(>=, 26) size_t const _SizeInBytes, _In_ time_t const *const _Time)
Definition: time.h:549
 
#define _Out_writes_(size)
Definition: sal.h:345
 
__int64 __time64_t
Definition: corecrt.h:480
 
#define _Post_readable_size_(size)
Definition: sal.h:646
 
#define __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(_ReturnType, _ReturnPolicy, _DeclSpec, _FuncName, _SalAttributeDst, _DstType, _Dst)
Definition: corecrt.h:709
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _ctime32_s(_Out_writes_(_SizeInBytes) _Post_readable_size_(26) char *_Buffer, _In_range_(>=, 26) size_t _SizeInBytes, _In_ __time32_t const *_Time)
 
_In_ __time32_t _Time2
Definition: time.h:183
 
static __inline time_t __CRTDECL time(_Out_opt_ time_t *const _Time)
Definition: time.h:531
 
_Out_writes_z_(_SizeInBytes) char *_Buffer
 
#define _Inout_
Definition: sal.h:375
 
_ACRTIMP __time64_t __cdecl _time64(_Out_opt_ __time64_t *_Time)
 
_Check_return_ _ACRTIMP double __cdecl _difftime64(_In_ __time64_t _Time1, _In_ __time64_t _Time2)
 
_In_ struct tm const * _Tm
Definition: time.h:126
 
_Buffer _Check_return_wat_ _ACRTIMP errno_t __cdecl _strtime_s(_Out_writes_(_SizeInBytes) _Post_readable_size_(9) char *_Buffer, _In_ _In_range_(>=, 9) size_t _SizeInBytes)
 
_In_ size_t _MaxSize
Definition: time.h:272
 
__RETURN_POLICY_DST
Definition: time.h:290
 
_Check_return_wat_ _ACRTIMP errno_t __cdecl _strdate_s(_Out_writes_(_SizeInBytes) _Post_readable_size_(9) char *_Buffer, _In_ _In_range_(>=, 9) size_t _SizeInBytes)
 
_Check_return_ _ACRTIMP __time32_t __cdecl _mkgmtime32(_Inout_ struct tm *_Tm)