ReactOS 0.4.16-dev-2104-gb84fa49
corecrt_wtime.h
Go to the documentation of this file.
1
6#ifndef _WTIME_DEFINED
7#define _WTIME_DEFINED
8
9#include <corecrt.h>
10
11struct tm {
12 int tm_sec;
13 int tm_min;
16 int tm_mon;
21};
22
23#if defined(_USE_32BIT_TIME_T) && !defined(_UCRT)
24#define _wctime32 _wctime
25#endif
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31_ACRTIMP wchar_t* __cdecl _wasctime(const struct tm*);
32_ACRTIMP size_t __cdecl wcsftime(wchar_t*,size_t,const wchar_t*,const struct tm*);
33_ACRTIMP size_t __cdecl _wcsftime_l(wchar_t*,size_t,const wchar_t*,const struct tm*,_locale_t);
34_ACRTIMP wchar_t* __cdecl _wctime32(const __time32_t*);
35_ACRTIMP wchar_t* __cdecl _wctime64(const __time64_t*);
36_ACRTIMP wchar_t* __cdecl _wstrdate(wchar_t*);
37_ACRTIMP errno_t __cdecl _wstrdate_s(wchar_t*,size_t);
38_ACRTIMP wchar_t* __cdecl _wstrtime(wchar_t*);
39_ACRTIMP errno_t __cdecl _wstrtime_s(wchar_t*,size_t);
40
41#ifndef _USE_32BIT_TIME_T
42static inline wchar_t* _wctime(const time_t *t) { return _wctime64(t); }
43#elif defined(_UCRT)
44static inline wchar_t* _wctime(const time_t *t) { return _wctime32(t); }
45#endif
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif /* _WTIME_DEFINED */
__msvcrt_long __time32_t
Definition: corecrt.h:209
int errno_t
Definition: corecrt.h:249
#define __cdecl
Definition: corecrt.h:121
#define _ACRTIMP
Definition: corecrt.h:153
__time32_t time_t
Definition: corecrt.h:228
_ACRTIMP wchar_t *__cdecl _wasctime(const struct tm *)
Definition: time.c:1677
_ACRTIMP errno_t __cdecl _wstrtime_s(wchar_t *, size_t)
Definition: time.c:676
_ACRTIMP wchar_t *__cdecl _wctime64(const __time64_t *)
Definition: time.c:1782
_ACRTIMP wchar_t *__cdecl _wctime32(const __time32_t *)
Definition: time.c:1790
_ACRTIMP size_t __cdecl _wcsftime_l(wchar_t *, size_t, const wchar_t *, const struct tm *, _locale_t)
Definition: time.c:1576
static wchar_t * _wctime(const time_t *t)
Definition: corecrt_wtime.h:42
_ACRTIMP errno_t __cdecl _wstrdate_s(wchar_t *, size_t)
Definition: time.c:603
_ACRTIMP size_t __cdecl wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *)
Definition: time.c:1585
GLdouble GLdouble t
Definition: gl.h:2047
__int64 __time64_t
Definition: corecrt.h:619
_wstrtime
_wstrdate
int tm_mon
Definition: corecrt_wtime.h:16
int tm_year
Definition: corecrt_wtime.h:17
int tm_hour
Definition: corecrt_wtime.h:14
int tm_sec
Definition: corecrt_wtime.h:12
int tm_isdst
Definition: corecrt_wtime.h:20
int tm_yday
Definition: corecrt_wtime.h:19
int tm_mday
Definition: corecrt_wtime.h:15
int tm_min
Definition: corecrt_wtime.h:13
int tm_wday
Definition: corecrt_wtime.h:18