<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.dio.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.dio-close.php',
    1 => 'dio_close',
    2 => 'Chiude il descrittore di file dato da fd',
  ),
  'up' => 
  array (
    0 => 'ref.dio.php',
    1 => 'Direct IO Funzioni',
  ),
  'prev' => 
  array (
    0 => 'ref.dio.php',
    1 => 'Direct IO Funzioni',
  ),
  'next' => 
  array (
    0 => 'function.dio-fcntl.php',
    1 => 'dio_fcntl',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/dio/functions/dio-close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.dio-close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dio_close</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5 &lt; 5.1.0)</p><p class="refpurpose"><span class="refname">dio_close</span> &mdash; <span class="dc-title">Chiude il descrittore di file dato da fd</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.dio-close-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>dio_close</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$fd</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   La funzione <span class="function"><strong>dio_close()</strong></span> chiude il descrittore di file
   <code class="parameter">fd</code>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.dio-close-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">fd</code></dt>
     <dd>
      <p class="para">
	   Il descrittore di file restituito da <span class="function"><a href="function.dio-open.php" class="function">dio_open()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.dio-close-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Nessun valore viene restituito.
  </p>
 </div>

 <div class="refsect1 examples" id="refsect1-function.dio-close-examples">
  <h3 class="title">Esempi</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Example #1 Chiusura di un descrittore di file aperto</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />$fd </span><span style="color: #007700">= </span><span style="color: #0000BB">dio_open</span><span style="color: #007700">(</span><span style="color: #DD0000">'/dev/ttyS0'</span><span style="color: #007700">, </span><span style="color: #0000BB">O_RDWR</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">dio_close</span><span style="color: #007700">(</span><span style="color: #0000BB">$fd</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

   </div>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.dio-close-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.dio-open.php" class="function" rel="rdfs-seeAlso">dio_open()</a> - Apre un nuovo file nella modalit&agrave; specificata da flags e
   i permessi indicati in mode</span></li>
   </ul>
  </p>
 </div>

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