<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.ssh2-send-eof.php',
    1 => 'ssh2_send_eof',
    2 => 'Envoie un EOF au flux',
  ),
  'up' => 
  array (
    0 => 'ref.ssh2.php',
    1 => 'Fonctions Shell2',
  ),
  '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' => 'fr',
    '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">Envoie un EOF au flux</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ssh2-send-eof-description">
  <h3 class="title">Description</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">
   Envoie un EOF au flux; c&#039;est typiquement utilisé pour fermer l&#039;entrée standard,
   tout en gardant la sortie et les erreurs ouvertes. Par exemple, on peut envoyer
   des données à un processus distant sur l&#039;entrée standard, la fermer pour commencer
   le traitement, et toujours être capable de lire les résultats sans créer de fichiers supplémentaires.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ssh2-send-eof-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <dl>
   
    <dt><code class="parameter">channel</code></dt>
    <dd>
     <span class="simpara">
      Un flux SSH; peut être acquis par des fonctions comme <span class="function"><a href="function.ssh2-fetch-stream.php" class="function">ssh2_fetch_stream()</a></span>
      ou <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">Valeurs de retour</h3>
  <p class="simpara">
   Cette fonction retourne <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en cas de succès ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ssh2-send-eof-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.ssh2-fetch-stream.php" class="function" rel="rdfs-seeAlso">ssh2_fetch_stream()</a> - Parcours un flux &eacute;tendu de donn&eacute;es</span></li>
  </ul>
 </div>


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