4e97ec822be055e38e60e0156545e3a469e7fb4f
[kugel-rb.git] / firmware / include / sys / timeb.h
blob4e97ec822be055e38e60e0156545e3a469e7fb4f
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.
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. */
9 #ifndef _SYS_TIMEB_H
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 #define _SYS_TIMEB_H
17 #include <_ansi.h>
19 #ifndef __time_t_defined
20 typedef _TIME_T_ time_t;
21 #define __time_t_defined
22 #endif
24 struct timeb
26 time_t time;
27 unsigned short millitm;
28 short timezone;
29 short dstflag;
32 extern int ftime _PARAMS ((struct timeb *));
34 #ifdef __cplusplus
36 #endif
38 #endif /* ! defined (_SYS_TIMEB_H) */