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

sys/timeb.hadditional definitions for date and time


#include <sys/timeb.h>

The <sys/timeb.h> header shall define the 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 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 )

None.

None.

None.

<sys/types.h> , <time.h>

First released in Issue 4, Version 2.

The ftime(3) function is marked LEGACY.

footer end

December 6, 2001 posix.fail