haiku/headers/posix/sys/timeb.h

27 lines
471 B
C
Raw Normal View History

#ifndef _SYS_TIMEB_H
#define _SYS_TIMEB_H
/*
** Distributed under the terms of the OpenBeOS License.
*/
#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 */