2006-03-16 17:42:47 +03:00
|
|
|
/*
|
2010-11-04 00:46:47 +03:00
|
|
|
* Copyright 2002-2010 Haiku Inc. All Rights Reserved.
|
2006-03-16 17:42:47 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-10-29 03:46:31 +03:00
|
|
|
#ifndef _SYS_TIMEB_H
|
|
|
|
#define _SYS_TIMEB_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct timeb {
|
|
|
|
time_t time; /* seconds of current time */
|
|
|
|
unsigned short millitm; /* milliseconds of current time */
|
|
|
|
short timezone; /* timezone difference to GMT in minutes */
|
|
|
|
short dstflag; /* daylight saving flag */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern
|
|
|
|
#ifdef __cplusplus
|
|
|
|
"C"
|
|
|
|
#endif
|
|
|
|
int ftime(struct timeb *timeb);
|
|
|
|
/* legacy */
|
|
|
|
|
|
|
|
#endif /* _SYS_TIMEB_H */
|