STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs | Functions | Variables
time.h File Reference
#include <crtdefs.h>
#include <wtime.inl>
#include <time.inl>

Go to the source code of this file.

Classes

struct  tm
 

Macros

#define _INC_TIME
 
#define _CLOCK_T_DEFINED
 
#define NULL   ((void *)0)
 
#define _TM_DEFINED
 
#define CLOCKS_PER_SEC   1000
 
#define _daylight   (*__daylight())
 
#define _dstbias   (*__dstbias())
 
#define _timezone   (*__timezone())
 
#define _tzname   (__tzname())
 
#define _WTIME_DEFINED
 
#define CLK_TCK   CLOCKS_PER_SEC
 

Typedefs

typedef long clock_t
 

Functions

_Check_return_ _CRT_INSECURE_DEPRECATE_GLOBALS (_get_daylight) _CRTIMP int *__cdecl __daylight(void)
 
_Check_return_ _CRT_INSECURE_DEPRECATE_GLOBALS (_get_dstbias) _CRTIMP long *__cdecl __dstbias(void)
 
_Check_return_ _CRT_INSECURE_DEPRECATE_GLOBALS (_get_timezone) _CRTIMP long *__cdecl __timezone(void)
 
_Check_return_ _Deref_ret_z_ _CRT_INSECURE_DEPRECATE_GLOBALS (_get_tzname) _CRTIMP char **__cdecl __tzname(void)
 
_CRTIMP errno_t __cdecl _get_daylight (_Out_ int *_Daylight)
 
_CRTIMP errno_t __cdecl _get_dstbias (_Out_ long *_Daylight_savings_bias)
 
_CRTIMP errno_t __cdecl _get_timezone (_Out_ long *_Timezone)
 
_CRTIMP errno_t __cdecl _get_tzname (_Out_ size_t *_ReturnValue, _Out_writes_z_(_SizeInBytes) char *_Buffer, _In_ size_t _SizeInBytes, _In_ int _Index)
 
_Check_return_ _CRT_INSECURE_DEPRECATE (asctime_s) _CRTIMP char *__cdecl asctime(_In_ const struct tm *_Tm)
 
_Check_return_wat_ _CRTIMP errno_t __cdecl asctime_s (_Out_writes_(_SizeInBytes) _Post_readable_size_(26) char *_Buf, _In_ size_t _SizeInBytes, _In_ const struct tm *_Tm)
 
 _CRT_INSECURE_DEPRECATE (_ctime32_s) _CRTIMP char *__cdecl _ctime32(_In_ const __time32_t *_Time)
 
_CRTIMP errno_t __cdecl _ctime32_s (_Out_writes_(_SizeInBytes) _Post_readable_size_(26) char *_Buf, _In_ size_t _SizeInBytes, _In_ const __time32_t *_Time)
 
_Check_return_ _CRTIMP clock_t __cdecl clock (void)
 
_CRTIMP double __cdecl _difftime32 (_In_ __time32_t _Time1, _In_ __time32_t _Time2)
 
_Check_return_ _CRT_INSECURE_DEPRECATE (_gmtime32_s) _CRTIMP struct tm *__cdecl _gmtime32(_In_ const __time32_t *_Time)
 
_Check_return_wat_ _CRTIMP errno_t __cdecl _gmtime32_s (_In_ struct tm *_Tm, _In_ const __time32_t *_Time)
 
 _CRT_INSECURE_DEPRECATE (_localtime32_s) _CRTIMP struct tm *__cdecl _localtime32(_In_ const __time32_t *_Time)
 
_CRTIMP errno_t __cdecl _localtime32_s (_Out_ struct tm *_Tm, _In_ const __time32_t *_Time)
 
_CRTIMP size_t __cdecl strftime (_Out_writes_z_(_SizeInBytes) char *_Buf, _In_ size_t _SizeInBytes, _In_z_ _Printf_format_string_ const char *_Format, _In_ const struct tm *_Tm)
 
_CRTIMP size_t __cdecl _strftime_l (_Pre_notnull_ _Post_z_ char *_Buf, _In_ size_t _Max_size, _In_z_ _Printf_format_string_ const char *_Format, _In_ const struct tm *_Tm, _In_opt_ _locale_t _Locale)
 
_Check_return_wat_ _CRTIMP errno_t __cdecl _strdate_s (_Out_writes_(_SizeInBytes) _Post_readable_size_(9) char *_Buf, _In_ size_t _SizeInBytes)
 
_Check_return_wat_ _CRTIMP errno_t __cdecl _strtime_s (_Out_writes_(_SizeInBytes) _Post_readable_size_(9) char *_Buf, _In_ size_t _SizeInBytes)
 
_CRTIMP __time32_t __cdecl _time32 (_Out_opt_ __time32_t *_Time)
 
_CRTIMP __time32_t __cdecl _mktime32 (_Inout_ struct tm *_Tm)
 
_CRTIMP __time32_t __cdecl _mkgmtime32 (_Inout_ struct tm *_Tm)
 
_CRTIMP void __cdecl _tzset (void)
 
_Check_return_ _CRTIMP double __cdecl _difftime64 (_In_ __time64_t _Time1, _In_ __time64_t _Time2)
 
 _CRT_INSECURE_DEPRECATE (_ctime64_s) _CRTIMP char *__cdecl _ctime64(_In_ const __time64_t *_Time)
 
_CRTIMP errno_t __cdecl _ctime64_s (_Out_writes_z_(_SizeInBytes) char *_Buf, _In_ size_t _SizeInBytes, _In_ const __time64_t *_Time)
 
 _CRT_INSECURE_DEPRECATE (_gmtime64_s) _CRTIMP struct tm *__cdecl _gmtime64(_In_ const __time64_t *_Time)
 
_CRTIMP errno_t __cdecl _gmtime64_s (_Out_ struct tm *_Tm, _In_ const __time64_t *_Time)
 
 _CRT_INSECURE_DEPRECATE (_localtime64_s) _CRTIMP struct tm *__cdecl _localtime64(_In_ const __time64_t *_Time)
 
_CRTIMP errno_t __cdecl _localtime64_s (_Out_ struct tm *_Tm, _In_ const __time64_t *_Time)
 
_CRTIMP __time64_t __cdecl _mktime64 (_Inout_ struct tm *_Tm)
 
_CRTIMP __time64_t __cdecl _mkgmtime64 (_Inout_ struct tm *_Tm)
 
_CRTIMP __time64_t __cdecl _time64 (_Out_opt_ __time64_t *_Time)
 
 _CRT_OBSOLETE (GetLocalTime) unsigned __cdecl _getsystime(_Out_ struct tm *_Tm)
 
 _CRT_OBSOLETE (SetLocalTime) unsigned __cdecl _setsystime(_In_ struct tm *_Tm
 
 _CRT_INSECURE_DEPRECATE (_wasctime_s) _CRTIMP wchar_t *__cdecl _wasctime(_In_ const struct tm *_Tm)
 
_CRTIMP errno_t __cdecl _wasctime_s (_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const struct tm *_Tm)
 
 _CRT_INSECURE_DEPRECATE (_wctime32_s) _CRTIMP wchar_t *__cdecl _wctime32(_In_ const __time32_t *_Time)
 
_CRTIMP errno_t __cdecl _wctime32_s (_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const __time32_t *_Time)
 
_CRTIMP size_t __cdecl wcsftime (_Out_writes_z_(_SizeInWords) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_ const struct tm *_Tm)
 
_CRTIMP size_t __cdecl _wcsftime_l (_Out_writes_z_(_SizeInWords) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format, _In_ const struct tm *_Tm, _In_opt_ _locale_t _Locale)
 
_CRTIMP errno_t __cdecl _wstrdate_s (_Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t *_Buf, _In_ size_t _SizeInWords)
 
_CRTIMP errno_t __cdecl _wstrtime_s (_Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t *_Buf, _In_ size_t _SizeInWords)
 
 _CRT_INSECURE_DEPRECATE (_wctime64_s) _CRTIMP wchar_t *__cdecl _wctime64(_In_ const __time64_t *_Time)
 
_CRTIMP errno_t __cdecl _wctime64_s (_Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t *_Buf, _In_ size_t _SizeInWords, _In_ const __time64_t *_Time)
 
 _CRT_NONSTDC_DEPRECATE (_tzset) _CRTIMP void __cdecl tzset(void)
 

Variables

unsigned _MilliSec
 

Macro Definition Documentation

#define _CLOCK_T_DEFINED
#define _daylight   (*__daylight())
#define _dstbias   (*__dstbias())
#define _INC_TIME
#define _timezone   (*__timezone())
#define _TM_DEFINED
#define _tzname   (__tzname())
#define _WTIME_DEFINED
#define CLK_TCK   CLOCKS_PER_SEC
#define CLOCKS_PER_SEC   1000
#define NULL   ((void *)0)

Typedef Documentation

typedef long clock_t

Function Documentation

_Check_return_ _CRT_INSECURE_DEPRECATE ( asctime_s  ) const
_CRT_INSECURE_DEPRECATE ( _ctime32_s  ) const
_Check_return_ _CRT_INSECURE_DEPRECATE ( _gmtime32_s  ) const
_CRT_INSECURE_DEPRECATE ( _localtime32_s  ) const
_CRT_INSECURE_DEPRECATE ( _ctime64_s  ) const
_CRT_INSECURE_DEPRECATE ( _gmtime64_s  ) const
_CRT_INSECURE_DEPRECATE ( _localtime64_s  ) const
_CRT_INSECURE_DEPRECATE ( _wasctime_s  ) const
_CRT_INSECURE_DEPRECATE ( _wctime32_s  ) const
_CRT_INSECURE_DEPRECATE ( _wctime64_s  ) const
_CRT_INSECURE_DEPRECATE_GLOBALS ( _get_daylight  )
_Check_return_ _CRT_INSECURE_DEPRECATE_GLOBALS ( _get_dstbias  )
_CRT_INSECURE_DEPRECATE_GLOBALS ( _get_timezone  )
_CRT_INSECURE_DEPRECATE_GLOBALS ( _get_tzname  )
_CRT_NONSTDC_DEPRECATE ( _tzset  )
_CRT_OBSOLETE ( GetLocalTime  )
_CRT_OBSOLETE ( SetLocalTime  )
_CRTIMP errno_t __cdecl _ctime32_s ( _Out_writes_(_SizeInBytes) _Post_readable_size_(26) char *  _Buf,
_In_ size_t  _SizeInBytes,
_In_ const __time32_t _Time 
)
_CRTIMP errno_t __cdecl _ctime64_s ( _Out_writes_z_(_SizeInBytes) char *  _Buf,
_In_ size_t  _SizeInBytes,
_In_ const __time64_t _Time 
)
_CRTIMP double __cdecl _difftime32 ( _In_ __time32_t  _Time1,
_In_ __time32_t  _Time2 
)
_Check_return_ _CRTIMP double __cdecl _difftime64 ( _In_ __time64_t  _Time1,
_In_ __time64_t  _Time2 
)
_CRTIMP errno_t __cdecl _get_daylight ( _Out_ int _Daylight)
_CRTIMP errno_t __cdecl _get_dstbias ( _Out_ long *  _Daylight_savings_bias)
_CRTIMP errno_t __cdecl _get_timezone ( _Out_ long *  _Timezone)
_CRTIMP errno_t __cdecl _get_tzname ( _Out_ size_t _ReturnValue,
_Out_writes_z_(_SizeInBytes) char *  _Buffer,
_In_ size_t  _SizeInBytes,
_In_ int  _Index 
)
_Check_return_wat_ _CRTIMP errno_t __cdecl _gmtime32_s ( _In_ struct tm _Tm,
_In_ const __time32_t _Time 
)
_CRTIMP errno_t __cdecl _gmtime64_s ( _Out_ struct tm _Tm,
_In_ const __time64_t _Time 
)
_CRTIMP errno_t __cdecl _localtime32_s ( _Out_ struct tm _Tm,
_In_ const __time32_t _Time 
)
_CRTIMP errno_t __cdecl _localtime64_s ( _Out_ struct tm _Tm,
_In_ const __time64_t _Time 
)
_CRTIMP __time32_t __cdecl _mkgmtime32 ( _Inout_ struct tm _Tm)
_CRTIMP __time64_t __cdecl _mkgmtime64 ( _Inout_ struct tm _Tm)
_CRTIMP __time32_t __cdecl _mktime32 ( _Inout_ struct tm _Tm)
_CRTIMP __time64_t __cdecl _mktime64 ( _Inout_ struct tm _Tm)
_Check_return_wat_ _CRTIMP errno_t __cdecl _strdate_s ( _Out_writes_(_SizeInBytes) _Post_readable_size_(9) char *  _Buf,
_In_ size_t  _SizeInBytes 
)
_CRTIMP size_t __cdecl _strftime_l ( _Pre_notnull_ _Post_z_ char *  _Buf,
_In_ size_t  _Max_size,
_In_z_ _Printf_format_string_ const char *  _Format,
_In_ const struct tm _Tm,
_In_opt_ _locale_t  _Locale 
)
_Check_return_wat_ _CRTIMP errno_t __cdecl _strtime_s ( _Out_writes_(_SizeInBytes) _Post_readable_size_(9) char *  _Buf,
_In_ size_t  _SizeInBytes 
)
_CRTIMP __time32_t __cdecl _time32 ( _Out_opt_ __time32_t _Time)
_CRTIMP __time64_t __cdecl _time64 ( _Out_opt_ __time64_t _Time)
_CRTIMP void __cdecl _tzset ( void  )
_CRTIMP errno_t __cdecl _wasctime_s ( _Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t _Buf,
_In_ size_t  _SizeInWords,
_In_ const struct tm _Tm 
)
_CRTIMP size_t __cdecl _wcsftime_l ( _Out_writes_z_(_SizeInWords) wchar_t _Buf,
_In_ size_t  _SizeInWords,
_In_z_ _Printf_format_string_ const wchar_t _Format,
_In_ const struct tm _Tm,
_In_opt_ _locale_t  _Locale 
)
_CRTIMP errno_t __cdecl _wctime32_s ( _Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t _Buf,
_In_ size_t  _SizeInWords,
_In_ const __time32_t _Time 
)
_CRTIMP errno_t __cdecl _wctime64_s ( _Out_writes_(_SizeInWords) _Post_readable_size_(26) wchar_t _Buf,
_In_ size_t  _SizeInWords,
_In_ const __time64_t _Time 
)
_CRTIMP errno_t __cdecl _wstrdate_s ( _Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t _Buf,
_In_ size_t  _SizeInWords 
)
_CRTIMP errno_t __cdecl _wstrtime_s ( _Out_writes_(_SizeInWords) _Post_readable_size_(9) wchar_t _Buf,
_In_ size_t  _SizeInWords 
)
_Check_return_wat_ _CRTIMP errno_t __cdecl asctime_s ( _Out_writes_(_SizeInBytes) _Post_readable_size_(26) char *  _Buf,
_In_ size_t  _SizeInBytes,
_In_ const struct tm _Tm 
)
_Check_return_ _CRTIMP clock_t __cdecl clock ( void  )
_CRTIMP size_t __cdecl strftime ( _Out_writes_z_(_SizeInBytes) char *  _Buf,
_In_ size_t  _SizeInBytes,
_In_z_ _Printf_format_string_ const char *  _Format,
_In_ const struct tm _Tm 
)
_CRTIMP size_t __cdecl wcsftime ( _Out_writes_z_(_SizeInWords) wchar_t _Buf,
_In_ size_t  _SizeInWords,
_In_z_ _Printf_format_string_ const wchar_t _Format,
_In_ const struct tm _Tm 
)

Variable Documentation

unsigned _MilliSec