Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual522629-013
7-45
INTERPRETINTERVAL Procedure
INTERPRETINTERVAL Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The INTERPRETINTERVAL procedure takes a fixed variable (quad) containing a value
representing a number of microseconds and converts it into a combination of days,
hours, minutes, seconds, milliseconds, and microseconds. All output parameters are
optional.
This procedure is similar to CONVERTPROCESSTIME except that
INTERPRETINTERVAL places no limit on the timestamp value.
Syntax for C Programmers
CEXTDECS (through the included file TNSINTH) defines 32-bit values as the
typedef __int32_t which for TNS and TNS/R compiles is defined as long and for
TNS/E compiles is defined as
int.
Syntax for TAL Programmers
Parameters
days returned value
INT(32)
#include <cextdecs(INTERPRETINTERVAL)>
__int32_t INTERPRETINTERVAL ( long long time
,[ short _near *hours ]
,[ short _near *minutes ]
,[ short _near *seconds ]
,[ short _near *milsecs ]
,[ short _near *microsecs ] );
days := INTERPRETINTERVAL ( time ! i
,[ hours ] ! o
,[ minutes ] ! o
,[ seconds ] ! o
,[ milsecs ] ! o
,[ microsecs ] ); ! o