ReactOS 0.4.15-dev-7998-gdb93cb1
timeb.h
Go to the documentation of this file.
1
6#ifndef _INC_TIMEB
7#define _INC_TIMEB
8
9#include <crtdefs.h>
10
11#ifndef _WIN32
12#error Only Win32 target is supported!
13#endif
14
15#pragma pack(push,_CRT_PACKING)
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#ifndef _TIMEB_DEFINED
22#define _TIMEB_DEFINED
23
24 struct _timeb {
26 unsigned short millitm;
27 short timezone;
28 short dstflag;
29 };
30
31 struct __timeb32 {
33 unsigned short millitm;
34 short timezone;
35 short dstflag;
36 };
37
38#ifndef NO_OLDNAMES
39 struct timeb {
41 unsigned short millitm;
42 short timezone;
43 short dstflag;
44 };
45#endif
46
47#if _INTEGRAL_MAX_BITS >= 64
48 struct __timeb64 {
49 __time64_t time;
50 unsigned short millitm;
51 short timezone;
52 short dstflag;
53 };
54#endif
55
56#endif /* !_TIMEB_DEFINED */
57
59 void
62 _Out_ struct _timeb *_Time);
63
66 void
69 _Out_ struct __timeb32 *_Time);
70
75 _Out_ struct __timeb32 *_Time);
76
77#if _INTEGRAL_MAX_BITS >= 64
78
79 _CRT_INSECURE_DEPRECATE(_ftime64_s)
81 void
83 _ftime64(
84 _Out_ struct __timeb64 *_Time);
85
89 _ftime64_s(
90 _Out_ struct __timeb64 *_Time);
91
92#endif /* _INTEGRAL_MAX_BITS >= 64 */
93
94#ifndef NO_OLDNAMES
95#if !defined (RC_INVOKED)
96__CRT_INLINE void __cdecl ftime(struct timeb *_Tmb) {
97 _ftime((struct _timeb *)_Tmb);
98}
99#endif
100#endif
101
102#ifdef __cplusplus
103}
104#endif
105
106#pragma pack(pop)
107
108#include <sec_api/sys/timeb_s.h>
109
110#endif /* !_INC_TIMEB */
#define __cdecl
Definition: accygwin.h:79
#define _CRT_INSECURE_DEPRECATE(_Replacement)
Definition: crtdefs.h:213
#define _CRTIMP
Definition: crtdefs.h:72
long __time32_t
Definition: crtdefs.h:379
int errno_t
Definition: crtdefs.h:374
__kernel_time_t time_t
Definition: linux.h:252
__u16 time
Definition: mkdosfs.c:8
#define _Out_
Definition: ms_sal.h:345
_In_ size_t _In_ const __time32_t * _Time
Definition: time.h:192
short timezone
Definition: timeb.h:34
__time32_t time
Definition: timeb.h:32
short dstflag
Definition: timeb.h:35
unsigned short millitm
Definition: timeb.h:33
Definition: timeb.h:24
short dstflag
Definition: timeb.h:28
time_t time
Definition: timeb.h:25
unsigned short millitm
Definition: timeb.h:26
short timezone
Definition: timeb.h:27
Definition: timeb.h:39
time_t time
Definition: timeb.h:40
short dstflag
Definition: timeb.h:43
short timezone
Definition: timeb.h:42
unsigned short millitm
Definition: timeb.h:41
Definition: fake.h:14
__CRT_INLINE void __cdecl ftime(struct timeb *_Tmb)
Definition: timeb.h:96
_CRTIMP void __cdecl _ftime(_Out_ struct _timeb *_Time)
_CRTIMP errno_t __cdecl _ftime32_s(_Out_ struct __timeb32 *_Time)
_CRTIMP void __cdecl _ftime32(_Out_ struct __timeb32 *_Time)