<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.pcntl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.pcntl-wexitstatus.php',
    1 => 'pcntl_wexitstatus',
    2 => 'Lefert den Statuscode eines beendeten Kindes',
  ),
  'up' => 
  array (
    0 => 'ref.pcntl.php',
    1 => 'PCNTL Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.pcntl-waitpid.php',
    1 => 'pcntl_waitpid',
  ),
  'next' => 
  array (
    0 => 'function.pcntl-wifexited.php',
    1 => 'pcntl_wifexited',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/pcntl/functions/pcntl-wexitstatus.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.pcntl-wexitstatus" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">pcntl_wexitstatus</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">pcntl_wexitstatus</span> &mdash; <span class="dc-title">Lefert den Statuscode eines beendeten Kindes</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.pcntl-wexitstatus-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>pcntl_wexitstatus</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$status</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Gibt den Statuscode eines beendeten Kindprozesses zurück. Diese Funktion
   ist nur nützlich, wenn <span class="function"><a href="function.pcntl-wifexited.php" class="function">pcntl_wifexited()</a></span> <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>
   zurückgab.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.pcntl-wexitstatus-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">status</code></dt>
     <dd>
      <p class="para">Der <code class="parameter">status</code>-Parameter
entspricht dem Statusparameter, der für einen erfolgreichen Aufruf
von <span class="function"><a href="function.pcntl-waitpid.php" class="function">pcntl_waitpid()</a></span> verwendet wird.</p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.pcntl-wexitstatus-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Gibt den Exit-Code als Ganzzahl zurück. Falls die Funktionalität vom
   Betriebssystem nicht unterstützt wird, wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.pcntl-wexitstatus-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.pcntl-waitpid.php" class="function" rel="rdfs-seeAlso">pcntl_waitpid()</a> - Wartet auf ein abgezweigtes Kind oder gibt dessen Status zur&uuml;ck</span></li>
    <li><span class="function"><a href="function.pcntl-wifexited.php" class="function" rel="rdfs-seeAlso">pcntl_wifexited()</a> - Pr&uuml;ft, ob der Statuscode ein normales Beenden darstellt</span></li>
   </ul>
  </p>
 </div>


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