<?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 => 'es',
  ),
  'this' => 
  array (
    0 => 'function.ssh2-send-eof.php',
    1 => 'ssh2_send_eof',
    2 => 'Env&iacute;a un EOF al flujo',
  ),
  'up' => 
  array (
    0 => 'ref.ssh2.php',
    1 => 'Funciones de 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' => 'es',
    '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">Envía un EOF al flujo</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ssh2-send-eof-description">
  <h3 class="title">Descripción</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">
   Envía un EOF al flujo; esto se utiliza típicamente para cerrar la entrada estándar,
   manteniendo abiertas la salida y los errores. Por ejemplo, se pueden enviar datos a un proceso remoto en la entrada estándar, cerrarla para comenzar el procesamiento, y aún ser capaz de leer los resultados sin crear ficheros adicionales.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ssh2-send-eof-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt><code class="parameter">channel</code></dt>
    <dd>
     <span class="simpara">
      Un flujo SSH; puede ser adquirido por funciones como <span class="function"><a href="function.ssh2-fetch-stream.php" class="function">ssh2_fetch_stream()</a></span>
      o <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">Valores devueltos</h3>
  <p class="simpara">
   Esta función retorna <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en caso de éxito o <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si ocurre un error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ssh2-send-eof-seealso">
  <h3 class="title">Ver también</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.ssh2-fetch-stream.php" class="function" rel="rdfs-seeAlso">ssh2_fetch_stream()</a> - Recorre un flujo extendido de datos</span></li>
  </ul>
 </div>


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