1 /* timeb.h -- An implementation of the standard Unix <sys/timeb.h> file.
2    Written by Ian Lance Taylor <ian@cygnus.com>
3    Public domain; no rights reserved.
4 
5    <sys/timeb.h> declares the structure used by the ftime function, as
6    well as the ftime function itself.  Newlib does not provide an
7    implementation of ftime.  */
8 
9 #ifndef _SYS_TIMEB_H
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #define _SYS_TIMEB_H
16 
17 #define __NEED_time_t
18 
19 #include <bits/alltypes.h>
20 
21 struct timeb
22 {
23   time_t time;
24   unsigned short millitm;
25   short timezone;
26   short dstflag;
27 };
28 
29 extern int ftime(struct timeb *);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* ! defined (_SYS_TIMEB_H) */
36