ReactOS  0.4.13-dev-259-g5ca9c9c
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
18 extern "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 {
50  unsigned short millitm;
51  short timezone;
52  short dstflag;
53  };
54 #endif
55 
56 #endif /* !_TIMEB_DEFINED */
57 
58  _CRTIMP
59  void
60  __cdecl
61  _ftime(
62  _Out_ struct _timeb *_Time);
63 
65  _CRTIMP
66  void
67  __cdecl
68  _ftime32(
69  _Out_ struct __timeb32 *_Time);
70 
71  _CRTIMP
72  errno_t
73  __cdecl
74  _ftime32_s(
75  _Out_ struct __timeb32 *_Time);
76 
77 #if _INTEGRAL_MAX_BITS >= 64
78 
79  _CRT_INSECURE_DEPRECATE(_ftime64_s)
80  _CRTIMP
81  void
82  __cdecl
83  _ftime64(
84  _Out_ struct __timeb64 *_Time);
85 
86  _CRTIMP
87  errno_t
88  __cdecl
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 */
short timezone
Definition: timeb.h:34
#define __cdecl
Definition: accygwin.h:79
#define _CRTIMP
Definition: crtdefs.h:60
_CRTIMP long timezone
short dstflag
Definition: timeb.h:28
long __time32_t
Definition: crtdefs.h:358
_CRTIMP void __cdecl _ftime32(_Out_ struct __timeb32 *_Time)
__u16 time
Definition: mkdosfs.c:366
_CRTIMP errno_t __cdecl _ftime32_s(_Out_ struct __timeb32 *_Time)
short dstflag
Definition: timeb.h:43
#define _Out_
Definition: no_sal2.h:323
int errno_t
Definition: crtdefs.h:353
Definition: timeb.h:39
_CRTIMP void __cdecl _ftime(_Out_ struct _timeb *_Time)
short timezone
Definition: timeb.h:42
__CRT_INLINE void __cdecl ftime(struct timeb *_Tmb)
Definition: timeb.h:96
unsigned short millitm
Definition: timeb.h:26
short timezone
Definition: timeb.h:27
__time32_t time
Definition: timeb.h:32
__kernel_time_t time_t
Definition: linux.h:252
#define _CRT_INSECURE_DEPRECATE(_Replacement)
Definition: crtdefs.h:190
_In_ size_t _In_ const __time32_t * _Time
Definition: time.h:199
unsigned short millitm
Definition: timeb.h:41
time_t time
Definition: timeb.h:40
unsigned short millitm
Definition: timeb.h:33
short dstflag
Definition: timeb.h:35
time_t time
Definition: timeb.h:25
__MINGW_EXTENSION typedef __int64 __time64_t
Definition: crtdefs.h:364
Definition: timeb.h:24