Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

timeb(3HEAD)

Name

timeb.h, timeb - additional definitions for date and time

Synopsis

#include <sys/timeb.h>

Description

The <sys/timeb.h> header defines the timeb structure, which includes 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 time zone in minutes west of Greenwich */
short          dstflag     /* TRUE if Daylight Savings Time is in effect */

The time_t type is defined as described in <sys/types.h>.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

time.h(3HEAD), types.h(3HEAD), attributes(7), standards(7)