Guardian Procedure Calls Reference Manual
TS_UNIQUE_CREATE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Returned Value
Example
Summary
The TS_UNIQUE_CREATE_ procedure returns a 128-bit timestamp that is unique to the system it
is generated on and any system in the same EXPAND network. The header files for this procedure
can be found in cextdecs for C/C++ programs and in extdecs0 for pTAL programs.
The template definition of the unique 128-bit timestamp is:
STRUCT NSK_UNIQUETIMESTAMP128 (*);
begin
int(64) NS[0:1];
end;
NOTE: The procedure calls, TS_UNIQUE_CONVERT_TO_JULIAN_ and TS_UNIQUE_COMPARE_,
also use the NSK_UNIQUETIMESTAMP128 structure template.
NOTE: The TS_UNIQUE_CREATE_ procedure is supported only in H-series and J-series RVUs.
Syntax for C Programmers
#include <cextdecs(TS_UNIQUE_CREATE_)>
short TS_UNIQUE_CREATE_ ( short *ts );
Syntax for TAL Programmers
error := TS_UNIQUE_CREATE_ (ts ); ! o
Parameter
ts
output
INT .EXT:ref:1
is a unique timestamp returned.
Returned Value
INT
Error code, one of:
FEOK0
No error. The operation executed successfully.
FEBOUNDSERROR22
One of the parameters specifies an address that is out of bounds.
TS_UNIQUE_CREATE_ Procedure 1431