The Open Group Base Specifications Issue 6
IEEE Std 1003.1, 2003 Edition
Copyright © 2001-2003 The IEEE and The Open Group, All Rights reserved.

NAME

sys/timeb.h - additional definitions for date and time

SYNOPSIS

[XSI] [Option Start] #include <sys/timeb.h> [Option End]

DESCRIPTION

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 )


The following sections are informative.

APPLICATION USAGE

None.

RATIONALE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

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

CHANGE HISTORY

First released in Issue 4, Version 2.

Issue 6

The ftime() function is marked LEGACY.

End of informative text.


UNIX ® is a registered Trademark of The Open Group.
POSIX ® is a registered Trademark of The IEEE.
[ Main Index | XBD | XCU | XSH | XRAT ]