pcntl_signal() does not stack handlers

----
Patch provided by "da vinci"

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329664 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2013-03-05 20:48:59 +00:00
parent fe3dfeaf7d
commit 11d2d77eb9

View file

@ -16,7 +16,7 @@
</methodsynopsis>
<para>
The <function>pcntl_signal</function> function installs a new
signal handler for the signal indicated by <parameter>signo</parameter>.
signal handler or replaces the current signal handler for the signal indicated by <parameter>signo</parameter>.
</para>
</refsect1>
@ -168,6 +168,15 @@ echo "Done\n";
</example>
</para>
</refsect1>
<refsect1 role="notes"><!-- {{{ -->
&reftitle.notes;
<function>pcntl_signal</function> doesn't stack the signal handlers, but replaces them.
</refsect1><!-- }}} -->
<refsect1 role="seealso">
&reftitle.seealso;
@ -178,6 +187,8 @@ echo "Done\n";
</simplelist>
</para>
</refsect1>
</refentry>