91 lines
2.8 KiB
HTML
91 lines
2.8 KiB
HTML
|
<!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>rexec_r_ts64()--Issue a Command on a Remote Host</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. -->
|
||
|
<!-- File created by V2DCIJB on 19 Nov 1999 -->
|
||
|
<!-- Edited by Kersten Feb 02 -->
|
||
|
<!--End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<!-- Java sync-link -->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
<h2>rexec_r_ts64()--Issue a Command on a Remote Host</h2>
|
||
|
|
||
|
<div class="box" style="width: 60%;">
|
||
|
<br>
|
||
|
Syntax
|
||
|
|
||
|
<pre>
|
||
|
#include <arpa/rexec.h>
|
||
|
|
||
|
int rexec_r_ts64(char * __ptr64 * __ptr64 <em>host</em>,
|
||
|
int <em>port</em>,
|
||
|
char * __ptr64 <em>user</em>,
|
||
|
char * __ptr64 <em>password</em>,
|
||
|
char * __ptr64 <em>command</em>,
|
||
|
int * __ptr64 <em>errorDescriptor</em>,
|
||
|
struct hostent_data * __ptr64<em>hostEntData</em>);
|
||
|
|
||
|
</pre>
|
||
|
|
||
|
<br>
|
||
|
Service Program Name: QSOSRVTS<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Default Public Authority: *USE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: Yes<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
</div>
|
||
|
|
||
|
<p>The <strong>rexec_r_ts64()</strong> function is used to open a connection to
|
||
|
a remote host and send a user ID, password, and command to the remote host. The
|
||
|
remote host verifies that the user ID and password are valid. The command is
|
||
|
issued after the user ID and password are validated.
|
||
|
<strong>rexec_r_ts64()</strong> differs from <strong>rexec_r()</strong> in that
|
||
|
<strong>rexec_r_ts64()</strong> accepts 8-byte teraspace pointers.</p>
|
||
|
|
||
|
<p>For a discussion of the parameters, authorities required, return values, and
|
||
|
other related information, see <a href="rexec_r.htm">rexec_r()--Issue a Command
|
||
|
on a Remote Host</a>.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Usage Notes</h3>
|
||
|
|
||
|
<p>All of the usage notes for <a href="rexec_r.htm">rexec_r()--Issue a Command
|
||
|
on a Remote Host</a> apply to <strong>rexec_r_ts64()</strong>.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<hr>
|
||
|
API introduced: V5R1
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> |
|
||
|
<a href="unix.htm">UNIX-Type APIs</a> |
|
||
|
<a href="aplist.htm">APIs by category</a> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|