OSF DCE Application Development Guide--Core Components
Introduction to the Distributed Time Service API
Converting Times ...
To/From
utc_binreltime
utc_bintime
utc_mkbinreltime
utc_mkbintime
timespec Structures:
utc_ascanytime
utc_ascgmtime
utc_asclocaltime
utc_ascreltime
utc_mkasctime
utc_mkascreltime
ASCII text:
To/From
utc_anytime
utc_gmtime
utc_localtime
utc_mkanytime
utc_mkgmtime
utc_mklocaltime
utc_mkreltime
utc_reltime
To/From
Structures:
tm
Retrieving Time ...
utc_gettime
utc_getusertime
Information ...
Obtaining Timezone
utc_anyzone
utc_gmtzone
utc_localzone
Comparing Times ...
utc_cmpintervaltime
utc_cmpmidtime
Manipulating Times ...
utc_boundtime
utc_spantime
utc_pointtime
Calculating Times ...
utc_addtime
utc_mulftime
utc_multime
utc_subtime
utc_abstime
An alphabetical listing of the DTS portable interface routines and a brief description of
each one follows:
• utc_abstime
Computes the absolute value of a binary relative timestamp
• utc_addtime
Computes the sum of two binary timestamps; the timestamps can be two relative
times or a relative time and an absolute time
• utc_anytime
Converts a binary timestamp into a tm structure by using the TDF information
contained in the timestamp to determine the TDF returned with the tm structure
• utc_anyzone
Gets the time zone label and offset from GMT by using the TDF contained in the
input utc
124245 Tandem Computers Incorporated 19−9