Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ utc_ascreltime(3dts) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

utc_ascreltime(3dts)  —  Subroutines

Name

utc_ascreltime - Converts a relative binary timestamp to an ASCII string that represents the time

Synopsis

#include <dce/utc.h> int utc_ascreltime(
char ∗cp,
const size_t stringlen,
utc_t ∗utc);

Parameters

Input

utcRelative binary timestamp. 

stringlenLength of the cp buffer. 

Output

cpASCII string that represents the time. 

Description

The utc_ascreltime() routine converts a relative binary timestamp to an ASCII string that represents the time. 

Return Values

 0Indicates that the routine executed successfully. 

-1Indicates an invalid time parameter or invalid results. 

Examples

See the sample program in the utc_abstime(3dts) reference page. 

Related Information

Functions: utc_mkascreltime(3dts). 

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