sys/timeb.h - additional definitions for date and time
[XSI] #include <sys/timeb.h>
The <sys/timeb.h> header shall define the timeb structure that includes at least the following members:time_t time The seconds portion of the current time. unsigned short millitm The milliseconds portion of the current time. short timezone The local timezone in minutes west of Greenwich. short dstflag TRUE if Daylight Savings Time is in effect.
The time_t type shall be defined as described in <sys/types.h> .
The following shall be declared as a function and may also be defined as a macro. A function prototype shall be provided.int ftime(struct timeb *); (LEGACY )
First released in Issue 4, Version 2.
The ftime() function is marked LEGACY.