COHERENT manpages
This page displays the COHERENT manpage for ftime() [Get the current time from the operating system].
List of available manpages
Index
ftime() -- System Call (libc) Get the current time from the operating system #include <sys/timeb.h> int ftime(tbp) struct timeb *tbp; ftime() fills the structure timeb, which is pointed to tbp, with COHERENT's representation of the current time. Header file timeb.h defines timeb as follows: struct timeb { time_t time; unsigned short millitm; short timezone; short dstflag; } The member time is the number of seconds since January 1, 1970, 0h00m00s GMT. millitm is a count of milliseconds. timezone and dstflag are obsolete; they have been replaced by the environmental variable TIMEZONE. ftime() does not return a meaningful value. See Also date, libc, time, timeb.h, TIMEZONE, types.h Notes The ANSI Standard eliminates ftime() from the set of standard time functions. COHERENT includes it only to support existing software. Users are well advised to modify their time routines to eliminate ftime().