<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ssh2.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.ssh2-send-eof.php',
    1 => 'ssh2_send_eof',
    2 => 'ストリームに EOF を送信する',
  ),
  'up' => 
  array (
    0 => 'ref.ssh2.php',
    1 => 'SSH2 関数',
  ),
  'prev' => 
  array (
    0 => 'function.ssh2-scp-send.php',
    1 => 'ssh2_scp_send',
  ),
  'next' => 
  array (
    0 => 'function.ssh2-sftp.php',
    1 => 'ssh2_sftp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/ssh2/functions/ssh2-send-eof.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ssh2-send-eof" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ssh2_send_eof</h1>
  <p class="verinfo">(PECL ssh2 &gt;= 1.3)</p><p class="refpurpose"><span class="refname">ssh2_send_eof</span> &mdash; <span class="dc-title">ストリームに EOF を送信する</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ssh2-send-eof-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ssh2_send_eof</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$channel</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   ストリームに EOF を送信します。
   この関数は通常、標準入力をクローズしつつ、
   標準出力と標準エラー出力は活かしておく用途に使います。
   たとえば、リモートのプロセスに標準入力経由でデータを送信し、
   処理する際にはそれをクローズします。
   そうすれば、追加のファイルを作ることなく、
   処理結果を読み取ることが出来ます。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ssh2-send-eof-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">channel</code></dt>
    <dd>
     <span class="simpara">
      SSH のストリーム。
      <span class="function"><a href="function.ssh2-fetch-stream.php" class="function">ssh2_fetch_stream()</a></span>
      や
      <span class="function"><a href="function.ssh2-connect.php" class="function">ssh2_connect()</a></span> のような関数から取得できます。
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ssh2-send-eof-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="simpara">
   成功した場合に <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> を、失敗した場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ssh2-send-eof-seealso">
  <h3 class="title">参考</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.ssh2-fetch-stream.php" class="function" rel="rdfs-seeAlso">ssh2_fetch_stream()</a> - 拡張データストリームを取得する</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>