SYSTIMEB.H(7) Miscellaneous Information Manual SYSTIMEB.H(7)

sys/timeb.hadditional definitions for date and time

#include <sys/timeb.h>

The <sys/timeb.h> header defines 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 type is defined as described in < >.

The header < > declares the following as a function which may also be defined as a macro. Function prototypes must be provided for use with an ISO C compiler. int ftime(struct timeb *);

None.

None.

ftime(3) , < time.h >.

February 1997 posix.fail