1 /* 2 * Copyright 2002-2010 Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _SYS_TIMEB_H 6 #define _SYS_TIMEB_H 7 8 9 #include <time.h> 10 11 12 struct timeb { 13 time_t time; /* seconds of current time */ 14 unsigned short millitm; /* milliseconds of current time */ 15 short timezone; /* timezone difference to GMT in minutes */ 16 short dstflag; /* daylight saving flag */ 17 }; 18 19 20 extern 21 #ifdef __cplusplus 22 "C" 23 #endif 24 int ftime(struct timeb *timeb); 25 /* legacy */ 26 27 #endif /* _SYS_TIMEB_H */ 28