PreviousNext

utc_ascreltime(3dts)

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

utc
Relative binary timestamp.

stringlen
Length of the cp buffer.

Output

cp
ASCII string that represents the time.

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

Return Values
~0 Indicates that the routine executed successfully.

1 Indicates an invalid time parameter or invalid results.

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

Related Information
Function: utc_mkascreltime(3dts)