Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-87
DNUMOUT Procedure
DNUMOUT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The DNUMOUT procedure converts unsigned double word integer values to their
ASCII equivalents. The result is returned right-justified in an array. If necessary,
leading zeros are zero-filled (the default) or blank-filled.
Syntax for C Programmers
CEXTDECS (via 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
width returned value
INT
returns the length in bytes of the
ascii-result.
ascii-result output
STRING .EXT:ref:*
#include <cextdecs(DNUMOUT)>
short DNUMOUT ( char *ascii-result
,__int32_t unsigned-doubleword
,short base
,[ short width ]
,[ short flags ] );
width := DNUMOUT ( ascii-result ! o
,unsigned-doubleword ! i
,base ! i
,[ width ] ! i
,[ flags ] ); ! i