ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/pase__getts64m.htm

150 lines
4.0 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>_GETTS64M()--Get Multiple Teraspace Pointers for i5/OS PASE</title>
<!-- Begin Header Records -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- Edited by Kersten Jan 02 -->
<!-- Created by wrmadden on 03 Apr 2003 -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<a name="Top_Of_Page"></a>
<h2>_GETTS64M()--Get Multiple Teraspace Pointers for i5/OS PASE</h2>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Syntax
<pre>
#include &lt;as400_protos.h&gt;
void _GETTS64M(ts64_t *<em>list</em>,
unsigned <em>count</em>);
</pre>
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Library: Standard C Library (libc.a)<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p><strong>Note:</strong> This function can only be used in an i5/OS PASE
program. See <a href="../rzalf/rzalfintro.htm">i5/OS PASE</a> for more
information about creating i5/OS PASE programs.</p>
<p>The _GETTS64M() function retrieves teraspace address equivalents for a set of i5/OS PASE memory addresses.</p>
<br>
<h3>Parameters</h3>
<dl>
<dt><strong>list</strong></dt>
<dd>(Input/Output) Pointer to an array of type ts64_t into which the caller has stored i5/OS PASE memory addresses.
_GETTS64M replaces each i5/OS PASE memory address with an equivalent 64-bit teraspace address.<br><br>
</dd>
<dt><strong>count</strong></dt>
<dd>(Input) Specifies the number of entries in the <em>list</em> array.<br><br>
</dd>
</dl>
<br>
<h3>Authorities</h3>
<p><strong>_GETTS64M</strong> requires no authority.</p>
<br>
<h3>Return Value</h3>
<p><strong>_GETTS64M</strong> returns no function result.</p>
<br>
<h3>Error Conditions</h3>
<p>Any error is reported with an i5/OS exception message that the system
converts to an i5/OS PASE signal. See <a href="pase_signals.htm">i5/OS PASE
Signal Handling</a> for information about handling i5/OS exceptions.</p>
<br>
<h3>Usage Notes</h3>
<ol>
<li><strong>_GETTS64M</strong> returns null (zero) for any input address that is either zero or cannot contain i5/OS PASE memory. i5/OS PASE memory is allocated from teraspace, but teraspace has a limited capacity smaller than 64-bits, so i5/OS PASE can only provide addressability to a subset of a 64-bit address space.<br>
<br>
</li>
<li><strong>_GETTS64M</strong> returns (non-null) teraspace pointers regardless
of whether there is currently any memory at the i5/OS PASE addresses.<br>
<br>
</li>
</ol>
<br>
<h3>Related Information</h3>
<ul>
<li><a href="pase__cvtspp.htm">_CVTSPP()--Convert Space Pointer for i5/OS
PASE</a></li>
<li><a href="pase__cvtts64.htm">_CVTTS64()--Convert Teraspace Address for i5/OS
PASE</a></li>
<li><a href="pase__getts64.htm">_GETTS64() and _GETTS64_SPP--Get Teraspace Address for i5/OS
PASE</a></li>
<li><a href="pase__setspp.htm">_SETSPP() and _SETSPP_TS64()--Set Space Pointer for i5/OS
PASE</a></li>
<li><a href="pase__getts64m.htm">_SETSPPM()--Set Multiple Space Pointers for i5/OS
PASE</a></li>
</ul>
<br>
<hr>
API introduced: V5R3
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"pase1.htm">i5/OS PASE APIs</a> | <a href="aplist.htm">APIs by category</a>
</td>
</tr>
</table>
</center>
</body>
</html>