downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the Git repository for this website on git.php.net.

Source of: /manual/es/function.pcntl-wifexited.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = 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 => 'es',
  ),
 
'this' =>
  array (
   
0 => 'function.pcntl-wifexited.php',
   
1 => 'pcntl_wifexited',
  ),
 
'up' =>
  array (
   
0 => 'ref.pcntl.php',
   
1 => 'Funciones PCNTL',
  ),
 
'prev' =>
  array (
   
0 => 'function.pcntl-wexitstatus.php',
   
1 => 'pcntl_wexitstatus',
  ),
 
'next' =>
  array (
   
0 => 'function.pcntl-wifsignaled.php',
   
1 => 'pcntl_wifsignaled',
  ),
 
'alternatives' =>
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.pcntl-wifexited" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">pcntl_wifexited</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5)</p><p class="refpurpose"><span class="refname">pcntl_wifexited</span> &mdash; <span class="dc-title">Checks if status code represents a normal exit</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.pcntl-wifexited-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>pcntl_wifexited</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$status</code></span>
   )</div>

  <p class="para rdfs-comment">
   Checks whether the child status code represents a normal exit.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.pcntl-wifexited-parameters">
  <h3 class="title">Parámetros</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">status</code></em></span>
     <dd>

      <p class="para">El parámetro <em><code class="parameter">status</code></em>
es el parámetro de estado proporcionado a una correcta
llamada a  <span class="function"><a href="function.pcntl-waitpid.php" class="function">pcntl_waitpid()</a></span>.</p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.pcntl-wifexited-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> if the child status code represents a normal exit, <strong><code>FALSE</code></strong>
   otherwise.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.pcntl-wifexited-seealso">
  <h3 class="title">Ver también</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.pcntl-waitpid.php" class="function" rel="rdfs-seeAlso">pcntl_waitpid()</a> - Waits on or returns the status of a forked child</span></li>
    <li class="member"> <span class="function"><a href="function.pcntl-wexitstatus.php" class="function" rel="rdfs-seeAlso">pcntl_wexitstatus()</a> - Returns the return code of a terminated child</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites