<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.posix.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.posix-sysconf.php',
    1 => 'posix_sysconf',
    2 => 'Renvoie des informations sur le syst&egrave;me en cours d\'ex&eacute;cution',
  ),
  'up' => 
  array (
    0 => 'ref.posix.php',
    1 => 'Fonctions POSIX',
  ),
  'prev' => 
  array (
    0 => 'function.posix-strerror.php',
    1 => 'posix_strerror',
  ),
  'next' => 
  array (
    0 => 'function.posix-times.php',
    1 => 'posix_times',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/posix/functions/posix-sysconf.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.posix-sysconf" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">posix_sysconf</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.3.0)</p><p class="refpurpose"><span class="refname">posix_sysconf</span> &mdash; <span class="dc-title">Renvoie des informations sur le système en cours d&#039;exécution</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.posix-sysconf-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>posix_sysconf</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$conf_id</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Renvoie des informations sur le système en cours d&#039;exécution.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.posix-sysconf-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">conf_id</code></dt>
     <dd>
      <p class="para">
       L&#039;identifiant de la variable avec les constantes suivantes
       <strong><code><a href="posix.constants.sysconf.php#constant.posix-sc-arg-max">POSIX_SC_ARG_MAX</a></code></strong>, <strong><code><a href="posix.constants.sysconf.php#constant.posix-sc-pagesize">POSIX_SC_PAGESIZE</a></code></strong>,
       <strong><code><a href="posix.constants.sysconf.php#constant.posix-sc-nprocessors-conf">POSIX_SC_NPROCESSORS_CONF</a></code></strong>, <strong><code><a href="posix.constants.sysconf.php#constant.posix-sc-nprocessors-onln">POSIX_SC_NPROCESSORS_ONLN</a></code></strong>,
       <strong><code><a href="posix.constants.sysconf.php#constant.posix-sc-child-max">POSIX_SC_CHILD_MAX</a></code></strong>, <strong><code><a href="posix.constants.sysconf.php#constant.posix-sc-clk-tck">POSIX_SC_CLK_TCK</a></code></strong>
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.posix-sysconf-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Renvoie la valeur numérique liée à <code class="parameter">conf_id</code>
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.posix-sysconf-examples">
  <h3 class="title">Exemples</h3>
  <div class="example" id="function.posix-sysconf.example.basic">
   <p><strong>Exemple #1 <span class="function"><strong>posix_sysconf()</strong></span> example</strong></p>
   <div class="example-contents"><p>
    Renvoie le nombre de processeurs actifs.
   </p></div>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">echo </span><span style="color: #0000BB">posix_sysconf</span><span style="color: #007700">(</span><span style="color: #0000BB">POSIX_SC_NPROCESSORS_ONLN</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

   <div class="example-contents"><p>L&#039;exemple ci-dessus va afficher :</p></div>
   <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">2</pre>
</div>
   </div>
  </div>
 </div>


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