_CVTTS64()--Convert Teraspace Address for i5/OS PASE


  Syntax
 #include <as400_protos.h>

 void* _CVTTS64(ts64_t source);

  Default Public Authority: *USE

  Library: Standard C Library (libc.a)

  Threadsafe: Yes

Note: This function can only be used in an i5/OS PASE program. See i5/OS PASE for more information.

The _CVTTS64() function converts a 64-bit teraspace address to an equivalent i5/OS PASE memory address.


Parameters

source
(Input) A 64-bit teraspace address.

Authorities

_CVTTS64 requires no authority.


Return Value

_CVTTS64 returns the i5/OS PASE memory address equivalent of the 64-bit teraspace address. The result is zero (null) if the input is either zero or an address that cannot contain i5/OS PASE memory.


Error Conditions

Any error is reported with an i5/OS exception message that the system converts to an i5/OS PASE signal. See i5/OS PASE Signal Handling for information about handling i5/OS exceptions.


Usage Notes

  1. _CVTTS64 returns an i5/OS PASE memory address regardless of whether there is currently any memory at that address.

Related Information




API introduced: V5R3
Top | i5/OS PASE APIs | APIs by category