Go to the source code of this file.
|
template<typename TimeType , typename Character > |
static errno_t __cdecl | common_ctime_s (_Out_writes_z_(size_in_chars) _Post_readable_size_(26) Character *const buffer, _In_range_(>=, 26) size_t const size_in_chars, TimeType const *const time_t_value) throw () |
|
errno_t __cdecl | _ctime32_s (char *const buffer, size_t const size_in_chars, __time32_t const *const time_t_value) |
|
errno_t __cdecl | _wctime32_s (wchar_t *const buffer, size_t const size_in_chars, __time32_t const *const time_t_value) |
|
errno_t __cdecl | _ctime64_s (char *const buffer, size_t const size_in_chars, __time64_t const *const time_t_value) |
|
errno_t __cdecl | _wctime64_s (wchar_t *const buffer, size_t const size_in_chars, __time64_t const *const time_t_value) |
|
template<typename TimeType , typename Character > |
| _Ret_writes_z_ (26) _Success_(return !=0) static Character *__cdecl common_ctime(TimeType const *const time_t_value) throw () |
|
char *__cdecl | _ctime32 (__time32_t const *const time_t_value) |
|
wchar_t *__cdecl | _wctime32 (__time32_t const *const time_t_value) |
|
char *__cdecl | _ctime64 (__time64_t const *const time_t_value) |
|
wchar_t *__cdecl | _wctime64 (__time64_t const *const time_t_value) |
|
◆ _ctime32()
Definition at line 106 of file ctime.cpp.
107{
108 return common_ctime<__time32_t, char>(time_t_value);
109}
◆ _ctime32_s()
Definition at line 45 of file ctime.cpp.
50{
52}
static errno_t __cdecl common_ctime_s(_Out_writes_z_(size_in_chars) _Post_readable_size_(26) Character *const buffer, _In_range_(>=, 26) size_t const size_in_chars, TimeType const *const time_t_value)
◆ _ctime64()
◆ _ctime64_s()
◆ _Ret_writes_z_()
_Ret_writes_z_ |
( |
26 |
| ) |
const |
throw | ( | |
| ) | | |
|
pure virtual |
Definition at line 87 of file ctime.cpp.
92{
94
97
102
103 return time_traits::tasctime(&tm_value);
104}
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
#define _VALIDATE_RETURN_NOEXC(expr, errorcode, retexpr)
__CRT_INLINE errno_t __cdecl localtime_s(struct tm *_Tm, const time_t *_Time)
◆ _wctime32()
Definition at line 111 of file ctime.cpp.
112{
113 return common_ctime<__time32_t, wchar_t>(time_t_value);
114}
◆ _wctime32_s()
◆ _wctime64()
Definition at line 121 of file ctime.cpp.
122{
123 return common_ctime<__time64_t, wchar_t>(time_t_value);
124}
Referenced by _wctime().
◆ _wctime64_s()
◆ common_ctime_s()
Definition at line 21 of file ctime.cpp.
26{
28
30
32
36
38 errno_t const status = time_traits::localtime_s(&tm_value, time_t_value);
41
42 return time_traits::tasctime_s(
buffer, size_in_chars, &tm_value);
43}
#define _RESET_STRING(_String, _Size)
#define _VALIDATE_RETURN_ERRCODE(expr, errorcode)
#define _VALIDATE_RETURN_ERRCODE_NOEXC(expr, errorcode)
Referenced by _ctime32_s(), _ctime64_s(), _wctime32_s(), and _wctime64_s().