This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / include / crtdll / sys / timeb.h
1 /*
2  * timeb.h
3  *
4  * Support for the UNIX System V ftime system call.
5  *
6  * This file is part of the Mingw32 package.
7  *
8  * Contributors:
9  *  Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10  *
11  *  THIS SOFTWARE IS NOT COPYRIGHTED
12  *
13  *  This source code is offered for use in the public domain. You may
14  *  use, modify or distribute it freely.
15  *
16  *  This code is distributed in the hope that it will be useful but
17  *  WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18  *  DISCLAMED. This includes but is not limited to warranties of
19  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20  *
21  * $Revision$
22  * $Author$
23  * $Date$
24  *
25  */
26
27 #ifndef __STRICT_ANSI__
28
29 #ifndef _TIMEB_H_
30 #define _TIMEB_H_
31
32 #ifdef  __cplusplus
33 extern "C" {
34 #endif
35
36 /*
37  * TODO: Structure not tested.
38  */
39 struct timeb
40 {
41         long    time;
42         short   millitm;
43         short   _timezone;
44         short   dstflag;
45 };
46
47 /* TODO: Not tested. */
48 void    _ftime (struct timeb* timebBuffer);
49
50 #ifndef _NO_OLDNAMES
51 void    ftime (struct timeb* timebBuffer);
52 #endif  /* Not _NO_OLDNAMES */
53
54 #ifdef  __cplusplus
55 }
56 #endif
57
58 #endif  /* Not _TIMEB_H_ */
59
60 #endif  /* Not __STRICT_ANSI__ */