Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


ftime()                   Time Function                   ftime()




Get the current time from the operating system

#include <sys/timeb.h>
ftime(tbp) struct timeb *tbp;

ftime fills  the structure timeb,  which is pointed  to tbp, with
COHERENT's representation of  the current time.  timeb is defined
in the header file timeb.h, 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 environmen-
tal variable TIMEZONE.

***** See Also *****

date, time, TIMEZONE, types.h






























COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026