xref: /haiku/headers/posix/sys/timeb.h (revision c698a51ee009dcd9509e517f407b4d4b0fb21852)
1 #ifndef _SYS_TIMEB_H
2 #define _SYS_TIMEB_H
3 /*
4 ** Distributed under the terms of the OpenBeOS License.
5 */
6 
7 
8 #include <time.h>
9 
10 
11 struct timeb {
12 	time_t			time;		/* seconds of current time */
13 	unsigned short	millitm;	/* milliseconds of current time */
14 	short			timezone;	/* timezone difference to GMT in minutes */
15 	short			dstflag;	/* daylight saving flag */
16 };
17 
18 
19 extern
20 #ifdef __cplusplus
21 "C"
22 #endif
23 int ftime(struct timeb *timeb);
24 	/* legacy */
25 
26 #endif	/* _SYS_TIMEB_H */
27