<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pcntl.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="pcntl.examples.html">Examples</a></div> <div class="up"><a href="book.pcntl.html">PCNTL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="pcntl.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="para"> The following list of signals are supported by the Process Control functions. Please see your systems signal(7) man page for details of the default behavior of these signals. </p> <dl> <dt id="constant.wnohang"> <span class="term"> <strong><code>WNOHANG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.wuntraced"> <span class="term"> <strong><code>WUNTRACED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sig-ign"> <span class="term"> <strong><code>SIG_IGN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sig-dfl"> <span class="term"> <strong><code>SIG_DFL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sig-err"> <span class="term"> <strong><code>SIG_ERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sighup"> <span class="term"> <strong><code>SIGHUP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigint"> <span class="term"> <strong><code>SIGINT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigquit"> <span class="term"> <strong><code>SIGQUIT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigill"> <span class="term"> <strong><code>SIGILL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigtrap"> <span class="term"> <strong><code>SIGTRAP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigabrt"> <span class="term"> <strong><code>SIGABRT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigiot"> <span class="term"> <strong><code>SIGIOT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigbus"> <span class="term"> <strong><code>SIGBUS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigfpe"> <span class="term"> <strong><code>SIGFPE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigkill"> <span class="term"> <strong><code>SIGKILL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigusr1"> <span class="term"> <strong><code>SIGUSR1</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigsegv"> <span class="term"> <strong><code>SIGSEGV</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigusr2"> <span class="term"> <strong><code>SIGUSR2</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigpipe"> <span class="term"> <strong><code>SIGPIPE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigalrm"> <span class="term"> <strong><code>SIGALRM</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigterm"> <span class="term"> <strong><code>SIGTERM</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigstkflt"> <span class="term"> <strong><code>SIGSTKFLT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigcld"> <span class="term"> <strong><code>SIGCLD</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigchld"> <span class="term"> <strong><code>SIGCHLD</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigcont"> <span class="term"> <strong><code>SIGCONT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigstop"> <span class="term"> <strong><code>SIGSTOP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigtstp"> <span class="term"> <strong><code>SIGTSTP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigttin"> <span class="term"> <strong><code>SIGTTIN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigttou"> <span class="term"> <strong><code>SIGTTOU</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigurg"> <span class="term"> <strong><code>SIGURG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigxcpu"> <span class="term"> <strong><code>SIGXCPU</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigxfsz"> <span class="term"> <strong><code>SIGXFSZ</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigvtalrm"> <span class="term"> <strong><code>SIGVTALRM</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigprof"> <span class="term"> <strong><code>SIGPROF</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigwinch"> <span class="term"> <strong><code>SIGWINCH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigpoll"> <span class="term"> <strong><code>SIGPOLL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigio"> <span class="term"> <strong><code>SIGIO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigpwr"> <span class="term"> <strong><code>SIGPWR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigsys"> <span class="term"> <strong><code>SIGSYS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sigbaby"> <span class="term"> <strong><code>SIGBABY</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt id="constant.sig-block"> <span class="term"> <strong><code>SIG_BLOCK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.sig-unblock"> <span class="term"> <strong><code>SIG_UNBLOCK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.sig-setmask"> <span class="term"> <strong><code>SIG_SETMASK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-user"> <span class="term"> <strong><code>SI_USER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-noinfo"> <span class="term"> <strong><code>SI_NOINFO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-kernel"> <span class="term"> <strong><code>SI_KERNEL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-queue"> <span class="term"> <strong><code>SI_QUEUE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-timer"> <span class="term"> <strong><code>SI_TIMER</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-msggq"> <span class="term"> <strong><code>SI_MSGGQ</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-asyncio"> <span class="term"> <strong><code>SI_ASYNCIO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-sigio"> <span class="term"> <strong><code>SI_SIGIO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.si-tkill"> <span class="term"> <strong><code>SI_TKILL</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.cld-exited"> <span class="term"> <strong><code>CLD_EXITED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.cld-killed"> <span class="term"> <strong><code>CLD_KILLED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.cld-dumped"> <span class="term"> <strong><code>CLD_DUMPED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.cld-trapped"> <span class="term"> <strong><code>CLD_TRAPPED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.cld-stopped"> <span class="term"> <strong><code>CLD_STOPPED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.cld-continued"> <span class="term"> <strong><code>CLD_CONTINUED</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.trap-brkpt"> <span class="term"> <strong><code>TRAP_BRKPT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.trap-trace"> <span class="term"> <strong><code>TRAP_TRACE</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.poll-in"> <span class="term"> <strong><code>POLL_IN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.poll-out"> <span class="term"> <strong><code>POLL_OUT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.poll-msg"> <span class="term"> <strong><code>POLL_MSG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.poll-err"> <span class="term"> <strong><code>POLL_ERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.poll-pri"> <span class="term"> <strong><code>POLL_PRI</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.poll-hup"> <span class="term"> <strong><code>POLL_HUP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-illopc"> <span class="term"> <strong><code>ILL_ILLOPC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-illopn"> <span class="term"> <strong><code>ILL_ILLOPN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-illadr"> <span class="term"> <strong><code>ILL_ILLADR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-illtrp"> <span class="term"> <strong><code>ILL_ILLTRP</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-prvopc"> <span class="term"> <strong><code>ILL_PRVOPC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-prvreg"> <span class="term"> <strong><code>ILL_PRVREG</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-coproc"> <span class="term"> <strong><code>ILL_COPROC</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.ill-badstk"> <span class="term"> <strong><code>ILL_BADSTK</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-intdiv"> <span class="term"> <strong><code>FPE_INTDIV</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-intovf"> <span class="term"> <strong><code>FPE_INTOVF</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-fltdiv"> <span class="term"> <strong><code>FPE_FLTDIV</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-fltovf"> <span class="term"> <strong><code>FPE_FLTOVF</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-fltund"> <span class="term"> <strong><code>FPE_FLTUND</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-fltres"> <span class="term"> <strong><code>FPE_FLTRES</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-fltinv"> <span class="term"> <strong><code>FPE_FLTINV</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.fpe-fltsub"> <span class="term"> <strong><code>FPE_FLTSUB</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.segv-maperr"> <span class="term"> <strong><code>SEGV_MAPERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.segv-accerr"> <span class="term"> <strong><code>SEGV_ACCERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.bus-adraln"> <span class="term"> <strong><code>BUS_ADRALN</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.bus-adrerr"> <span class="term"> <strong><code>BUS_ADRERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> <dt id="constant.bus-objerr"> <span class="term"> <strong><code>BUS_OBJERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Available since PHP 5.3.0. </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="pcntl.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="pcntl.examples.html">Examples</a></div> <div class="up"><a href="book.pcntl.html">PCNTL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>