ReactOS 0.4.16-dev-2110-ge3521eb
time_s.h
Go to the documentation of this file.
1
7#ifndef _TIME_H__S
8#define _TIME_H__S
9
10#include <time.h>
11
12#if defined(MINGW_HAS_SECURE_API)
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18 _Success_(return == 0)
24 _In_ size_t _SizeInBytes,
26
34
41
48 _In_range_(>= , 9) size_t _SizeInBytes);
49
56 _In_range_(>= , 9) size_t _SizeInBytes);
57
62 _Out_writes_z_(_SizeInBytes) char *_Buf,
63 _In_ size_t _SizeInBytes,
65
72
79
80#ifndef _WTIME_S_DEFINED
81#define _WTIME_S_DEFINED
82
88 _In_range_(>= , 26) size_t _SizeInWords,
89 _In_ const struct tm *_Tm);
90
91 _Success_(return == 0)
97 _In_ size_t _SizeInWords,
99
100 _CRTIMP
101 errno_t
102 __cdecl
105 _In_ size_t _SizeInWords);
106
107 _CRTIMP
108 errno_t
109 __cdecl
112 _In_range_(>= , 9) size_t _SizeInWords);
113
114 _Success_(return == 0)
115 _CRTIMP
116 errno_t
117 __cdecl
120 _In_ size_t _SizeInWords,
122
123#if !defined (RC_INVOKED) && !defined (_INC_WTIME_S_INL)
124#define _INC_WTIME_S_INL
125 errno_t __cdecl _wctime_s(wchar_t *, size_t, const time_t *);
126#ifndef _USE_32BIT_TIME_T
127__CRT_INLINE errno_t __cdecl _wctime_s(wchar_t *_Buffer,size_t _SizeInWords,const time_t *_Time) { return _wctime64_s(_Buffer,_SizeInWords,_Time); }
128#endif
129#endif
130
131#endif /* _WTIME_S_DEFINED */
132
133#ifndef RC_INVOKED
134#ifdef _USE_32BIT_TIME_T
135__CRT_INLINE errno_t __cdecl localtime_s(struct tm *_Tm,const time_t *_Time) { return _localtime32_s(_Tm,_Time); }
136#else
137__CRT_INLINE errno_t __cdecl localtime_s(struct tm *_Tm,const time_t *_Time) { return _localtime64_s(_Tm,_Time); }
138#endif
139#endif
140
141#ifdef __cplusplus
142}
143#endif
144
145#endif /* MINGW_HAS_SECURE_API */
146
147#endif /* _TIME_H__S */
return
Definition: dirsup.c:529
__msvcrt_long __time32_t
Definition: corecrt.h:209
int errno_t
Definition: corecrt.h:249
#define __cdecl
Definition: corecrt.h:121
__time32_t time_t
Definition: corecrt.h:228
_ACRTIMP errno_t __cdecl _wstrtime_s(wchar_t *, size_t)
Definition: time.c:676
_ACRTIMP errno_t __cdecl _wstrdate_s(wchar_t *, size_t)
Definition: time.c:603
_ACRTIMP errno_t __cdecl _strtime_s(char *, size_t)
Definition: time.c:645
_ACRTIMP int __cdecl _gmtime32_s(struct tm *res, const __time32_t *secs)
Definition: time.c:524
_ACRTIMP errno_t __cdecl _localtime32_s(struct tm *, const __time32_t *)
Definition: time.c:444
_ACRTIMP int __cdecl _gmtime64_s(struct tm *res, const __time64_t *secs)
Definition: time.c:464
_ACRTIMP errno_t __cdecl _ctime64_s(char *, size_t, const __time64_t *)
Definition: time.c:1731
_ACRTIMP errno_t __cdecl _strdate_s(char *, size_t)
Definition: time.c:572
_ACRTIMP errno_t __cdecl _ctime32_s(char *, size_t, const __time32_t *)
Definition: time.c:1762
static errno_t localtime_s(struct tm *res, const time_t *t)
Definition: time.h:122
_ACRTIMP errno_t __cdecl _localtime64_s(struct tm *, const __time64_t *)
Definition: time.c:367
int CDECL _wctime64_s(wchar_t *buf, size_t size, const __time64_t *time)
Definition: time.c:1798
int CDECL _wasctime_s(wchar_t *time, size_t size, const struct tm *mstm)
Definition: time.c:1700
int CDECL _wctime32_s(wchar_t *buf, size_t size, const __time32_t *time)
Definition: time.c:1821
#define _Out_writes_z_(s)
Definition: no_sal2.h:180
#define _Post_readable_size_(s)
Definition: no_sal2.h:536
#define _Success_(c)
Definition: no_sal2.h:84
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _In_range_(l, h)
Definition: no_sal2.h:368
_In_ size_t _In_ const __time32_t * _Time
Definition: time.h:192
_In_ size_t _SizeInBytes
Definition: time.h:146
_In_ size_t _SizeInWords
Definition: time.h:309
_In_ size_t _In_z_ _Printf_format_string_ const char _In_ const struct tm * _Tm
Definition: time.h:148
__int64 __time64_t
Definition: corecrt.h:619
#define _Check_return_wat_
Definition: corecrt.h:230
static _Check_return_wat_ __inline errno_t __CRTDECL _wctime_s(_Pre_notnull_ _Post_z_ _Out_writes_z_(_SizeInWords) wchar_t *const _Buffer, _In_ size_t const _SizeInWords, _In_ time_t const *const _Time)
_In_ _Pre_notnull_ _Buffer
Definition: stdlib.h:644
#define _CRTIMP
Definition: vcruntime.h:54
#define const
Definition: zconf.h:233