didou Sun Feb 4 02:46:18 2007 UTC
Modified files:
/phpdoc/en/reference/pcntl/functions pcntl-alarm.xml pcntl-exec.xml
pcntl-fork.xml
pcntl-getpriority.xml
pcntl-setpriority.xml
pcntl-signal.xml
pcntl-wait.xml
pcntl-waitpid.xml
pcntl-wexitstatus.xml
pcntl-wifexited.xml
pcntl-wifsignaled.xml
pcntl-wifstopped.xml
pcntl-wstopsig.xml
pcntl-wtermsig.xml
Log:
WS, prepare for new doc style
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml:1.2
phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml:1.3
--- phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml:1.2 Mon Apr 12
16:04:45 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-alarm.xml Sun Feb 4 02:46:17 2007
@@ -1,32 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
- <refentry id='function.pcntl-alarm'>
- <refnamediv>
- <refname>pcntl_alarm</refname>
- <refpurpose>
- Set an alarm clock for delivery of a signal
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_alarm</methodname>
- <methodparam><type>int</type><parameter>seconds</parameter></methodparam>
- </methodsynopsis>
- <para>
- The <function>pcntl_alarm</function> function creates a timer that will
- send a <literal>SIGALRM</literal> signal to the process after
- <parameter>seconds</parameter> seconds. If <parameter>seconds</parameter>
- is zero, no new alarm is created. Any call to
<function>pcntl_alarm</function>
- will cancel any previously set alarm.
- </para>
- <para>
- <function>pcntl_alarm</function> will return the time in seconds that any
- previously scheduled alarm had remaining before it was to be delivered, or
- <literal>0</literal> if there was no previously scheduled alarm.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.3 $ -->
+<refentry id='function.pcntl-alarm'>
+ <refnamediv>
+ <refname>pcntl_alarm</refname>
+ <refpurpose>Set an alarm clock for delivery of a signal</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_alarm</methodname>
+ <methodparam><type>int</type><parameter>seconds</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The <function>pcntl_alarm</function> function creates a timer that will
+ send a <literal>SIGALRM</literal> signal to the process after
+ <parameter>seconds</parameter> seconds. If <parameter>seconds</parameter>
+ is zero, no new alarm is created. Any call to
<function>pcntl_alarm</function>
+ will cancel any previously set alarm.
+ </para>
+ <para>
+ <function>pcntl_alarm</function> will return the time in seconds that any
+ previously scheduled alarm had remaining before it was to be delivered, or
+ <literal>0</literal> if there was no previously scheduled alarm.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-exec.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-exec.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-exec.xml:1.4
phpdoc/en/reference/pcntl/functions/pcntl-exec.xml:1.5
--- phpdoc/en/reference/pcntl/functions/pcntl-exec.xml:1.4 Fri Jun 24
13:24:33 2005
+++ phpdoc/en/reference/pcntl/functions/pcntl-exec.xml Sun Feb 4 02:46:17 2007
@@ -1,45 +1,43 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.9 -->
- <refentry id='function.pcntl-exec'>
- <refnamediv>
- <refname>pcntl_exec</refname>
- <refpurpose>
- Executes specified program in current process space
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>void</type><methodname>pcntl_exec</methodname>
- <methodparam><type>string</type><parameter>path</parameter></methodparam>
- <methodparam
choice="opt"><type>array</type><parameter>args</parameter></methodparam>
- <methodparam
choice="opt"><type>array</type><parameter>envs</parameter></methodparam>
- </methodsynopsis>
- <para>
- <function>pcntl_exec</function> executes the program
- <parameter>path</parameter> with arguments <parameter>args</parameter>.
- <parameter>path</parameter> must be the path to a binary executable or a
- script with a valid path pointing to an executable in the shebang (
- #!/usr/local/bin/perl for example) as the first line. See your system's
- man execve(2) page for additional information.
- </para>
- <para>
- <parameter>args</parameter> is an array of argument strings passed to the
- program.
- </para>
- <para>
- <parameter>envs</parameter> is an array of strings which are passed as
- environment to the program. The array is in the format of name => value,
- the key being the name of the environmental variable and the value being
- the value of that variable.
- </para>
- <para>
- <function>pcntl_exec</function> returns &false; on error and does not
- return on success.
- </para>
- </refsect1>
- </refentry>
+<refentry id='function.pcntl-exec'>
+ <refnamediv>
+ <refname>pcntl_exec</refname>
+ <refpurpose>Executes specified program in current process space</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>void</type><methodname>pcntl_exec</methodname>
+ <methodparam><type>string</type><parameter>path</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>args</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>envs</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>pcntl_exec</function> executes the program
+ <parameter>path</parameter> with arguments <parameter>args</parameter>.
+ <parameter>path</parameter> must be the path to a binary executable or a
+ script with a valid path pointing to an executable in the shebang (
+ #!/usr/local/bin/perl for example) as the first line. See your system's
+ man execve(2) page for additional information.
+ </para>
+ <para>
+ <parameter>args</parameter> is an array of argument strings passed to the
+ program.
+ </para>
+ <para>
+ <parameter>envs</parameter> is an array of strings which are passed as
+ environment to the program. The array is in the format of name => value,
+ the key being the name of the environmental variable and the value being
+ the value of that variable.
+ </para>
+ <para>
+ <function>pcntl_exec</function> returns &false; on error and does not
+ return on success.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-fork.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-fork.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-fork.xml:1.5
phpdoc/en/reference/pcntl/functions/pcntl-fork.xml:1.6
--- phpdoc/en/reference/pcntl/functions/pcntl-fork.xml:1.5 Sat Jan 22
00:04:01 2005
+++ phpdoc/en/reference/pcntl/functions/pcntl-fork.xml Sun Feb 4 02:46:17 2007
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.1 -->
- <refentry id="function.pcntl-fork">
- <refnamediv>
- <refname>pcntl_fork</refname>
- <refpurpose>Forks the currently running process</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_fork</methodname>
- <void/>
- </methodsynopsis>
- <para>
- The <function>pcntl_fork</function> function creates a child
- process that differs from the parent process only in its PID and
- PPID. Please see your system's fork(2) man page for specific details as to
- how fork works on your system.
- </para>
- <para>
- On success, the PID of the child process is returned in the
- parent's thread of execution, and a 0 is returned in the child's
- thread of execution. On failure, a -1 will be returned in the
- parent's context, no child process will be created, and a PHP
- error is raised.
- </para>
- <example>
- <title><function>pcntl_fork</function> example</title>
- <programlisting role="php">
+<refentry id="function.pcntl-fork">
+ <refnamediv>
+ <refname>pcntl_fork</refname>
+ <refpurpose>Forks the currently running process</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_fork</methodname>
+ <void/>
+ </methodsynopsis>
+ <para>
+ The <function>pcntl_fork</function> function creates a child
+ process that differs from the parent process only in its PID and
+ PPID. Please see your system's fork(2) man page for specific details as to
+ how fork works on your system.
+ </para>
+ <para>
+ On success, the PID of the child process is returned in the
+ parent's thread of execution, and a 0 is returned in the child's
+ thread of execution. On failure, a -1 will be returned in the
+ parent's context, no child process will be created, and a PHP
+ error is raised.
+ </para>
+ <example>
+ <title><function>pcntl_fork</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
@@ -43,14 +43,14 @@
?>
]]>
- </programlisting>
- </example>
- <para>
- See also <function>pcntl_waitpid</function> and
- <function>pcntl_signal</function>.
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ <para>
+ See also <function>pcntl_waitpid</function> and
+ <function>pcntl_signal</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml:1.3
phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml:1.4
--- phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml:1.3 Thu Aug
12 18:11:59 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-getpriority.xml Sun Feb 4
02:46:17 2007
@@ -1,40 +1,38 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
- <refentry id='function.pcntl-getpriority'>
- <refnamediv>
- <refname>pcntl_getpriority</refname>
- <refpurpose>
- Get the priority of any process
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_getpriority</methodname>
- <methodparam
choice="opt"><type>int</type><parameter>pid</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>process_identifier</parameter></methodparam>
- </methodsynopsis>
- <para>
- <function>pcntl_getpriority</function> gets the priority of
- <parameter>pid</parameter>. If <parameter>pid</parameter> is not
- specified, the pid of the current process is used. Because priority
- levels can differ between system types and kernel versions, please see
- your system's getpriority(2) man page for specific details.
- </para>
- <para>
- <function>pcntl_getpriority</function> returns the priority of the process
- or &false; on error. A lower numerical value causes more favorable
- scheduling.
- </para>
- <para>
- <parameter>process_identifier</parameter> is one of
- <constant>PRIO_PGRP</constant>,
- <constant>PRIO_USER</constant> or
- <constant>PRIO_PROCESS</constant>.
- </para>
- &return.falseproblem;
- </refsect1>
- </refentry>
+<!-- $Revision: 1.4 $ -->
+<refentry id='function.pcntl-getpriority'>
+ <refnamediv>
+ <refname>pcntl_getpriority</refname>
+ <refpurpose>Get the priority of any process</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_getpriority</methodname>
+ <methodparam
choice="opt"><type>int</type><parameter>pid</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>process_identifier</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>pcntl_getpriority</function> gets the priority of
+ <parameter>pid</parameter>. If <parameter>pid</parameter> is not
+ specified, the pid of the current process is used. Because priority
+ levels can differ between system types and kernel versions, please see
+ your system's getpriority(2) man page for specific details.
+ </para>
+ <para>
+ <function>pcntl_getpriority</function> returns the priority of the process
+ or &false; on error. A lower numerical value causes more favorable
+ scheduling.
+ </para>
+ <para>
+ <parameter>process_identifier</parameter> is one of
+ <constant>PRIO_PGRP</constant>,
+ <constant>PRIO_USER</constant> or
+ <constant>PRIO_PROCESS</constant>.
+ </para>
+ &return.falseproblem;
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
@@ -55,4 +53,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml:1.3
phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml:1.4
--- phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml:1.3 Thu Aug
12 18:11:59 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-setpriority.xml Sun Feb 4
02:46:17 2007
@@ -1,45 +1,43 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
- <refentry id='function.pcntl-setpriority'>
- <refnamediv>
- <refname>pcntl_setpriority</refname>
- <refpurpose>
- Change the priority of any process
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>pcntl_setpriority</methodname>
-
<methodparam><type>int</type><parameter>priority</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>pid</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>process_identifier</parameter></methodparam>
- </methodsynopsis>
- <para>
- <function>pcntl_setpriority</function> sets the priority of
- <parameter>pid</parameter> to <parameter>priority</parameter>. If
- <parameter>pid</parameter> is not specified, the pid of the current
- process is used.
- </para>
- <para>
- <parameter>priority</parameter> is generally a value in the range
- <literal>-20</literal> to <literal>20</literal>. The default priority
- is <literal>0</literal> while a lower numerical value causes more
- favorable scheduling. Because priority levels can differ between
- system types and kernel versions, please see your system's setpriority(2)
- man page for specific details.
- </para>
- <para>
- <parameter>process_identifier</parameter> is one of
- <constant>PRIO_PGRP</constant>,
- <constant>PRIO_USER</constant> or
- <constant>PRIO_PROCESS</constant>.
- </para>
- <para>
- &return.success;
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.4 $ -->
+<refentry id='function.pcntl-setpriority'>
+ <refnamediv>
+ <refname>pcntl_setpriority</refname>
+ <refpurpose>Change the priority of any process</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>pcntl_setpriority</methodname>
+ <methodparam><type>int</type><parameter>priority</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>pid</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>process_identifier</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>pcntl_setpriority</function> sets the priority of
+ <parameter>pid</parameter> to <parameter>priority</parameter>. If
+ <parameter>pid</parameter> is not specified, the pid of the current
+ process is used.
+ </para>
+ <para>
+ <parameter>priority</parameter> is generally a value in the range
+ <literal>-20</literal> to <literal>20</literal>. The default priority
+ is <literal>0</literal> while a lower numerical value causes more
+ favorable scheduling. Because priority levels can differ between
+ system types and kernel versions, please see your system's setpriority(2)
+ man page for specific details.
+ </para>
+ <para>
+ <parameter>process_identifier</parameter> is one of
+ <constant>PRIO_PGRP</constant>,
+ <constant>PRIO_USER</constant> or
+ <constant>PRIO_PROCESS</constant>.
+ </para>
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
@@ -60,4 +58,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-signal.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-signal.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-signal.xml:1.8
phpdoc/en/reference/pcntl/functions/pcntl-signal.xml:1.9
--- phpdoc/en/reference/pcntl/functions/pcntl-signal.xml:1.8 Thu Feb 26
22:36:01 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-signal.xml Sun Feb 4
02:46:17 2007
@@ -1,56 +1,56 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 -->
- <refentry id="function.pcntl-signal">
- <refnamediv>
- <refname>pcntl_signal</refname>
- <refpurpose>Installs a signal handler</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>pcntl_signal</methodname>
- <methodparam><type>int</type><parameter>signo</parameter></methodparam>
-
<methodparam><type>callback</type><parameter>handle</parameter></methodparam>
- <methodparam
choice="opt"><type>bool</type><parameter>restart_syscalls</parameter></methodparam>
- </methodsynopsis>
+<refentry id="function.pcntl-signal">
+ <refnamediv>
+ <refname>pcntl_signal</refname>
+ <refpurpose>Installs a signal handler</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>pcntl_signal</methodname>
+ <methodparam><type>int</type><parameter>signo</parameter></methodparam>
+
<methodparam><type>callback</type><parameter>handle</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>restart_syscalls</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The <function>pcntl_signal</function> function installs a new
+ signal handler for the signal indicated by
+ <parameter>signo</parameter>. The signal handler is set to
+ <parameter>handler</parameter> which may be the name of a user
+ created function, or either of the two global constants SIG_IGN
+ or SIG_DFL. The optional <parameter>restart_syscalls</parameter>
+ specifies whether system call restarting should be used when this
+ signal arrives and defaults to &true;.
+ </para>
+ <para>
+ &return.success;
+ </para>
+ <note>
<para>
- The <function>pcntl_signal</function> function installs a new
- signal handler for the signal indicated by
- <parameter>signo</parameter>. The signal handler is set to
- <parameter>handler</parameter> which may be the name of a user
- created function, or either of the two global constants SIG_IGN
- or SIG_DFL. The optional <parameter>restart_syscalls</parameter>
- specifies whether system call restarting should be used when this
- signal arrives and defaults to &true;.
+ The optional <parameter>restart_syscalls</parameter> parameter became
+ available in PHP 4.3.0.
</para>
+ </note>
+ <note>
<para>
- &return.success;
+ The ability to use an object method as a callback became available in
+ PHP 4.3.0. Note that when you set a handler to an object method, that
+ object's reference count is increased which makes it persist until you
+ either change the handler to something else, or your script ends.
</para>
- <note>
- <para>
- The optional <parameter>restart_syscalls</parameter> parameter became
- available in PHP 4.3.0.
- </para>
- </note>
- <note>
- <para>
- The ability to use an object method as a callback became available in
- PHP 4.3.0. Note that when you set a handler to an object method, that
- object's reference count is increased which makes it persist until you
- either change the handler to something else, or your script ends.
- </para>
- </note>
- <example>
- <title><function>pcntl_signal</function> example</title>
- <programlisting role="php">
+ </note>
+ <example>
+ <title><function>pcntl_signal</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
// tick use required as of PHP 4.3.0
declare(ticks = 1);
// signal handler function
-function sig_handler($signo)
+function sig_handler($signo)
{
switch ($signo) {
@@ -89,26 +89,26 @@
?>
]]>
- </programlisting>
- </example>
- <note>
- <para>
- As of PHP 4.3.0 PCNTL uses ticks as the signal handle callback mechanism,
- which is much faster than the previous mechanism. This change follows the
- same semantics as using
- "<link linkend="control-structures.declare.ticks">user ticks</link>". You
- must use the <link linkend="control-structures.declare">declare()</link>
- statement to specify the locations in your program where callbacks are
- allowed to occur for the signal handler to function properly (as used in
- the above example).
- </para>
- </note>
+ </programlisting>
+ </example>
+ <note>
<para>
- See also <function>pcntl_fork</function> and
- <function>pcntl_waitpid</function>.
+ As of PHP 4.3.0 PCNTL uses ticks as the signal handle callback mechanism,
+ which is much faster than the previous mechanism. This change follows the
+ same semantics as using
+ "<link linkend="control-structures.declare.ticks">user ticks</link>". You
+ must use the <link linkend="control-structures.declare">declare()</link>
+ statement to specify the locations in your program where callbacks are
+ allowed to occur for the signal handler to function properly (as used in
+ the above example).
</para>
- </refsect1>
- </refentry>
+ </note>
+ <para>
+ See also <function>pcntl_fork</function> and
+ <function>pcntl_waitpid</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wait.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wait.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.5
phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.6
--- phpdoc/en/reference/pcntl/functions/pcntl-wait.xml:1.5 Wed Nov 10
08:30:40 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wait.xml Sun Feb 4 02:46:17 2007
@@ -1,93 +1,91 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
- <refentry id='function.pcntl-wait'>
- <refnamediv>
- <refname>pcntl_wait</refname>
- <refpurpose>
- Waits on or returns the status of a forked child
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_wait</methodname>
- <methodparam><type>int</type><parameter
role="reference">status</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
- </methodsynopsis>
- <para>
- The wait function suspends execution of the current process until a
- child has exited, or until a signal is delivered whose action is to
- terminate the current process or to call a signal handling function. If a
- child has already exited by the time of the call (a so-called "zombie"
- process), the function returns immediately. Any system resources used by
- the child are freed. Please see your system's wait(2) man page for
- specific details as to how wait works on your system.
- </para>
- <para>
- <function>pcntl_wait</function> returns the process ID of the
- child which exited, -1 on error or zero if WNOHANG was provided as an
- option (on wait3-available systems) and no child was available.
- </para>
- <para>
- If wait3 is available on your system (mostly BSD-style systems), you can
- provide the optional <parameter>options</parameter> parameter. If this
- parameter is not provided, wait will be used for the system call. If
- wait3 is not available, providing a value for <parameter>options
- </parameter> will have no effect. The value of <parameter>options
- </parameter> is the value of zero or more of the following two constants
- <literal>OR</literal>'ed together:
- <table>
- <title>Possible values for <parameter>options</parameter> if wait3 is
available</title>
- <tgroup cols="2">
- <tbody>
- <row>
- <entry><literal>WNOHANG</literal></entry>
- <entry>
- Return immediately if no child has exited.
- </entry>
- </row>
- <row>
- <entry><literal>WUNTRACED</literal></entry>
- <entry>
- Return for children which are stopped, and whose status has
- not been reported.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </para>
- <para>
- <function>pcntl_wait</function> will store status information
- in the <parameter>status</parameter> parameter which can be
- evaluated using the following functions:
- <function>pcntl_wifexited</function>,
- <function>pcntl_wifstopped</function>,
- <function>pcntl_wifsignaled</function>,
- <function>pcntl_wexitstatus</function>,
- <function>pcntl_wtermsig</function> and
- <function>pcntl_wstopsig</function>.
- </para>
- <note>
- <para>
- This function is equivalent to calling <function>pcntl_waitpid</function>
- with a <literal>-1</literal> <parameter>pid</parameter> and no
- <parameter>options</parameter>.
- </para>
- </note>
- <para>
- See also <function>pcntl_fork</function>,
- <function>pcntl_signal</function>,
- <function>pcntl_wifexited</function>,
- <function>pcntl_wifstopped</function>,
- <function>pcntl_wifsignaled</function>,
- <function>pcntl_wexitstatus</function>,
- <function>pcntl_wtermsig</function>,
- <function>pcntl_wstopsig</function> and
- <function>pcntl_waitpid</function>.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.6 $ -->
+<refentry id='function.pcntl-wait'>
+ <refnamediv>
+ <refname>pcntl_wait</refname>
+ <refpurpose>Waits on or returns the status of a forked child</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_wait</methodname>
+ <methodparam><type>int</type><parameter
role="reference">status</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The wait function suspends execution of the current process until a
+ child has exited, or until a signal is delivered whose action is to
+ terminate the current process or to call a signal handling function. If a
+ child has already exited by the time of the call (a so-called "zombie"
+ process), the function returns immediately. Any system resources used by
+ the child are freed. Please see your system's wait(2) man page for
+ specific details as to how wait works on your system.
+ </para>
+ <para>
+ <function>pcntl_wait</function> returns the process ID of the
+ child which exited, -1 on error or zero if WNOHANG was provided as an
+ option (on wait3-available systems) and no child was available.
+ </para>
+ <para>
+ If wait3 is available on your system (mostly BSD-style systems), you can
+ provide the optional <parameter>options</parameter> parameter. If this
+ parameter is not provided, wait will be used for the system call. If
+ wait3 is not available, providing a value for <parameter>options
+ </parameter> will have no effect. The value of <parameter>options
+ </parameter> is the value of zero or more of the following two constants
+ <literal>OR</literal>'ed together:
+ <table>
+ <title>Possible values for <parameter>options</parameter> if wait3 is
available</title>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry><literal>WNOHANG</literal></entry>
+ <entry>
+ Return immediately if no child has exited.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>WUNTRACED</literal></entry>
+ <entry>
+ Return for children which are stopped, and whose status has
+ not been reported.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
+ <para>
+ <function>pcntl_wait</function> will store status information
+ in the <parameter>status</parameter> parameter which can be
+ evaluated using the following functions:
+ <function>pcntl_wifexited</function>,
+ <function>pcntl_wifstopped</function>,
+ <function>pcntl_wifsignaled</function>,
+ <function>pcntl_wexitstatus</function>,
+ <function>pcntl_wtermsig</function> and
+ <function>pcntl_wstopsig</function>.
+ </para>
+ <note>
+ <para>
+ This function is equivalent to calling <function>pcntl_waitpid</function>
+ with a <literal>-1</literal> <parameter>pid</parameter> and no
+ <parameter>options</parameter>.
+ </para>
+ </note>
+ <para>
+ See also <function>pcntl_fork</function>,
+ <function>pcntl_signal</function>,
+ <function>pcntl_wifexited</function>,
+ <function>pcntl_wifstopped</function>,
+ <function>pcntl_wifsignaled</function>,
+ <function>pcntl_wexitstatus</function>,
+ <function>pcntl_wtermsig</function>,
+ <function>pcntl_wstopsig</function> and
+ <function>pcntl_waitpid</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.8
phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.9
--- phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml:1.8 Wed Nov 10
08:30:40 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-waitpid.xml Sun Feb 4
02:46:17 2007
@@ -1,129 +1,128 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
-<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.1 -->
- <refentry id="function.pcntl-waitpid">
- <refnamediv>
- <refname>pcntl_waitpid</refname>
- <refpurpose>Waits on or returns the status of a forked child</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_waitpid</methodname>
- <methodparam><type>int</type><parameter>pid</parameter></methodparam>
- <methodparam><type>int</type><parameter
role="reference">status</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
- </methodsynopsis>
- <para>
- The <function>pcntl_waitpid</function> function suspends execution
- of the current process until a child as specified by the
- <parameter>pid</parameter> argument has exited, or until a signal
- is delivered whose action is to terminate the current process or
- to call a signal handling function. If a child as requested by
- <parameter>pid</parameter> has already exited by the time of the
- call (a so-called "zombie" process), the function returns
- immediately. Any system resources used by the child are
- freed. Please see your system's waitpid(2) man page for specific
- details as to how waitpid works on your system.
- </para>
- <para>
- <function>pcntl_waitpid</function> returns the process ID of the
- child which exited, -1 on error or zero if WNOHANG was used and no
- child was available
- </para>
- <para>
- The value of <parameter>pid</parameter> can be one of the following:
- <table>
- <title>possible values for <parameter>pid</parameter></title>
- <tgroup cols="2">
- <tbody>
- <row>
- <entry><literal>< -1</literal></entry>
- <entry>
- wait for any child process whose process group ID is equal to
- the absolute value of <parameter>pid</parameter>.
- </entry>
- </row>
- <row>
- <entry><literal>-1</literal></entry>
- <entry>
- wait for any child process; this is the same behaviour that
- the wait function exhibits.
- </entry>
- </row>
- <row>
- <entry><literal>0</literal></entry>
- <entry>
- wait for any child process whose process group ID is equal to
- that of the calling process.
- </entry>
- </row>
- <row>
- <entry><literal>> 0</literal></entry>
- <entry>
- wait for the child whose process ID is equal to the value of
- <parameter>pid</parameter>.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </para>
- <note>
- <para>
- Specifying <literal>-1</literal> as the <parameter>pid</parameter> is
- equivalent to the functionality <function>pcntl_wait</function> provides
- (minus <parameter>options</parameter>).
- </para>
- </note>
- <para>
- <function>pcntl_waitpid</function> will store status information
- in the <parameter>status</parameter> parameter which can be
- evaluated using the following functions:
- <function>pcntl_wifexited</function>,
- <function>pcntl_wifstopped</function>,
- <function>pcntl_wifsignaled</function>,
- <function>pcntl_wexitstatus</function>,
- <function>pcntl_wtermsig</function> and
- <function>pcntl_wstopsig</function>.
- </para>
- <para>
- The value of <parameter>options</parameter> is the value of zero
- or more of the following two global constants
- <literal>OR</literal>'ed together:
- <table>
- <title>possible values for <parameter>options</parameter></title>
- <tgroup cols="2">
- <tbody>
- <row>
- <entry><literal>WNOHANG</literal></entry>
- <entry>
- return immediately if no child has exited.
- </entry>
- </row>
- <row>
- <entry><literal>WUNTRACED</literal></entry>
- <entry>
- return for children which are stopped, and whose status has
- not been reported.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </para>
- <para>
- See also <function>pcntl_fork</function>,
- <function>pcntl_signal</function>,
- <function>pcntl_wifexited</function>,
- <function>pcntl_wifstopped</function>,
- <function>pcntl_wifsignaled</function>,
- <function>pcntl_wexitstatus</function>,
- <function>pcntl_wtermsig</function> and
- <function>pcntl_wstopsig</function>.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.9 $ -->
+<refentry id="function.pcntl-waitpid">
+ <refnamediv>
+ <refname>pcntl_waitpid</refname>
+ <refpurpose>Waits on or returns the status of a forked child</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_waitpid</methodname>
+ <methodparam><type>int</type><parameter>pid</parameter></methodparam>
+ <methodparam><type>int</type><parameter
role="reference">status</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>options</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ The <function>pcntl_waitpid</function> function suspends execution
+ of the current process until a child as specified by the
+ <parameter>pid</parameter> argument has exited, or until a signal
+ is delivered whose action is to terminate the current process or
+ to call a signal handling function. If a child as requested by
+ <parameter>pid</parameter> has already exited by the time of the
+ call (a so-called "zombie" process), the function returns
+ immediately. Any system resources used by the child are
+ freed. Please see your system's waitpid(2) man page for specific
+ details as to how waitpid works on your system.
+ </para>
+ <para>
+ <function>pcntl_waitpid</function> returns the process ID of the
+ child which exited, -1 on error or zero if WNOHANG was used and no
+ child was available
+ </para>
+ <para>
+ The value of <parameter>pid</parameter> can be one of the following:
+ <table>
+ <title>possible values for <parameter>pid</parameter></title>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry><literal>< -1</literal></entry>
+ <entry>
+ wait for any child process whose process group ID is equal to
+ the absolute value of <parameter>pid</parameter>.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>-1</literal></entry>
+ <entry>
+ wait for any child process; this is the same behaviour that
+ the wait function exhibits.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>0</literal></entry>
+ <entry>
+ wait for any child process whose process group ID is equal to
+ that of the calling process.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>> 0</literal></entry>
+ <entry>
+ wait for the child whose process ID is equal to the value of
+ <parameter>pid</parameter>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
+ <note>
+ <para>
+ Specifying <literal>-1</literal> as the <parameter>pid</parameter> is
+ equivalent to the functionality <function>pcntl_wait</function> provides
+ (minus <parameter>options</parameter>).
+ </para>
+ </note>
+ <para>
+ <function>pcntl_waitpid</function> will store status information
+ in the <parameter>status</parameter> parameter which can be
+ evaluated using the following functions:
+ <function>pcntl_wifexited</function>,
+ <function>pcntl_wifstopped</function>,
+ <function>pcntl_wifsignaled</function>,
+ <function>pcntl_wexitstatus</function>,
+ <function>pcntl_wtermsig</function> and
+ <function>pcntl_wstopsig</function>.
+ </para>
+ <para>
+ The value of <parameter>options</parameter> is the value of zero
+ or more of the following two global constants
+ <literal>OR</literal>'ed together:
+ <table>
+ <title>possible values for <parameter>options</parameter></title>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry><literal>WNOHANG</literal></entry>
+ <entry>
+ return immediately if no child has exited.
+ </entry>
+ </row>
+ <row>
+ <entry><literal>WUNTRACED</literal></entry>
+ <entry>
+ return for children which are stopped, and whose status has
+ not been reported.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
+ <para>
+ See also <function>pcntl_fork</function>,
+ <function>pcntl_signal</function>,
+ <function>pcntl_wifexited</function>,
+ <function>pcntl_wifstopped</function>,
+ <function>pcntl_wifsignaled</function>,
+ <function>pcntl_wexitstatus</function>,
+ <function>pcntl_wtermsig</function> and
+ <function>pcntl_wstopsig</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wexitstatus.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wexitstatus.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wexitstatus.xml:1.3
phpdoc/en/reference/pcntl/functions/pcntl-wexitstatus.xml:1.4
--- phpdoc/en/reference/pcntl/functions/pcntl-wexitstatus.xml:1.3 Wed May
12 07:43:53 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wexitstatus.xml Sun Feb 4
02:46:17 2007
@@ -1,31 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 -->
- <refentry id="function.pcntl-wexitstatus">
- <refnamediv>
- <refname>pcntl_wexitstatus</refname>
- <refpurpose>
- Returns the return code of a terminated child
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_wexitstatus</methodname>
- <methodparam><type>int</type><parameter>status</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns the return code of a terminated child. This function is
- only useful if <function>pcntl_wifexited</function> returned
- &true;.
- </para>
- &pcntl.parameter.status;
- <para>
- See also <function>pcntl_waitpid</function> and
- <function>pcntl_wifexited</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.pcntl-wexitstatus">
+ <refnamediv>
+ <refname>pcntl_wexitstatus</refname>
+ <refpurpose>Returns the return code of a terminated child</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_wexitstatus</methodname>
+ <methodparam><type>int</type><parameter>status</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns the return code of a terminated child. This function is
+ only useful if <function>pcntl_wifexited</function> returned
+ &true;.
+ </para>
+ &pcntl.parameter.status;
+ <para>
+ See also <function>pcntl_waitpid</function> and
+ <function>pcntl_wifexited</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wifexited.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wifexited.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wifexited.xml:1.4
phpdoc/en/reference/pcntl/functions/pcntl-wifexited.xml:1.5
--- phpdoc/en/reference/pcntl/functions/pcntl-wifexited.xml:1.4 Fri Jun 24
09:11:42 2005
+++ phpdoc/en/reference/pcntl/functions/pcntl-wifexited.xml Sun Feb 4
02:46:17 2007
@@ -1,30 +1,28 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 -->
- <refentry id="function.pcntl-wifexited">
- <refnamediv>
- <refname>pcntl_wifexited</refname>
- <refpurpose>
- Returns &true; if status code represents a successful exit
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>pcntl_wifexited</methodname>
- <methodparam><type>int</type><parameter>status</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if the child status code represents a successful
- exit.
- </para>
- &pcntl.parameter.status;
- <para>
- See also <function>pcntl_waitpid</function> and
- <function>pcntl_wexitstatus</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.pcntl-wifexited">
+ <refnamediv>
+ <refname>pcntl_wifexited</refname>
+ <refpurpose>Returns &true; if status code represents a successful
exit</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>pcntl_wifexited</methodname>
+ <methodparam><type>int</type><parameter>status</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if the child status code represents a successful
+ exit.
+ </para>
+ &pcntl.parameter.status;
+ <para>
+ See also <function>pcntl_waitpid</function> and
+ <function>pcntl_wexitstatus</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wifsignaled.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wifsignaled.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wifsignaled.xml:1.4
phpdoc/en/reference/pcntl/functions/pcntl-wifsignaled.xml:1.5
--- phpdoc/en/reference/pcntl/functions/pcntl-wifsignaled.xml:1.4 Fri Jun
24 09:11:42 2005
+++ phpdoc/en/reference/pcntl/functions/pcntl-wifsignaled.xml Sun Feb 4
02:46:17 2007
@@ -1,31 +1,28 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 -->
- <refentry id="function.pcntl-wifsignaled">
- <refnamediv>
- <refname>pcntl_wifsignaled</refname>
- <refpurpose>
- Returns &true; if status code represents a termination due to a
- signal
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>pcntl_wifsignaled</methodname>
- <methodparam><type>int</type><parameter>status</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if the child process exited because of a signal
- which was not caught.
- </para>
- &pcntl.parameter.status;
- <para>
- See also <function>pcntl_waitpid</function> and
- <function>pcntl_signal</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.pcntl-wifsignaled">
+ <refnamediv>
+ <refname>pcntl_wifsignaled</refname>
+ <refpurpose>Returns &true; if status code represents a termination due to a
signal</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>pcntl_wifsignaled</methodname>
+ <methodparam><type>int</type><parameter>status</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if the child process exited because of a signal
+ which was not caught.
+ </para>
+ &pcntl.parameter.status;
+ <para>
+ See also <function>pcntl_waitpid</function> and
+ <function>pcntl_signal</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wifstopped.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wifstopped.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wifstopped.xml:1.4
phpdoc/en/reference/pcntl/functions/pcntl-wifstopped.xml:1.5
--- phpdoc/en/reference/pcntl/functions/pcntl-wifstopped.xml:1.4 Fri Jun
24 09:11:42 2005
+++ phpdoc/en/reference/pcntl/functions/pcntl-wifstopped.xml Sun Feb 4
02:46:17 2007
@@ -1,31 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 -->
- <refentry id="function.pcntl-wifstopped">
- <refnamediv>
- <refname>pcntl_wifstopped</refname>
- <refpurpose>
- Returns &true; if child process is currently stopped
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>pcntl_wifstopped</methodname>
- <methodparam><type>int</type><parameter>status</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns &true; if the child process which caused the return is
- currently stopped; this is only possible if the call to
- <function>pcntl_waitpid</function> was done using the option
- <literal>WUNTRACED</literal>.
- </para>
- &pcntl.parameter.status;
- <para>
- See also <function>pcntl_waitpid</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.pcntl-wifstopped">
+ <refnamediv>
+ <refname>pcntl_wifstopped</refname>
+ <refpurpose>Returns &true; if child process is currently stopped</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>pcntl_wifstopped</methodname>
+ <methodparam><type>int</type><parameter>status</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns &true; if the child process which caused the return is
+ currently stopped; this is only possible if the call to
+ <function>pcntl_waitpid</function> was done using the option
+ <literal>WUNTRACED</literal>.
+ </para>
+ &pcntl.parameter.status;
+ <para>
+ See also <function>pcntl_waitpid</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wstopsig.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wstopsig.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wstopsig.xml:1.3
phpdoc/en/reference/pcntl/functions/pcntl-wstopsig.xml:1.4
--- phpdoc/en/reference/pcntl/functions/pcntl-wstopsig.xml:1.3 Wed May 12
07:43:53 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wstopsig.xml Sun Feb 4
02:46:17 2007
@@ -1,31 +1,29 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 -->
- <refentry id="function.pcntl-wstopsig">
- <refnamediv>
- <refname>pcntl_wstopsig</refname>
- <refpurpose>
- Returns the signal which caused the child to stop
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_wstopsig</methodname>
- <methodparam><type>int</type><parameter>status</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns the number of the signal which caused the child to stop.
- This function is only useful if
- <function>pcntl_wifstopped</function> returned &true;.
- </para>
- &pcntl.parameter.status;
- <para>
- See also <function>pcntl_waitpid</function> and
- <function>pcntl_wifstopped</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.pcntl-wstopsig">
+ <refnamediv>
+ <refname>pcntl_wstopsig</refname>
+ <refpurpose>Returns the signal which caused the child to stop</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_wstopsig</methodname>
+ <methodparam><type>int</type><parameter>status</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns the number of the signal which caused the child to stop.
+ This function is only useful if
+ <function>pcntl_wifstopped</function> returned &true;.
+ </para>
+ &pcntl.parameter.status;
+ <para>
+ See also <function>pcntl_waitpid</function> and
+ <function>pcntl_wifstopped</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/functions/pcntl-wtermsig.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/en/reference/pcntl/functions/pcntl-wtermsig.xml
diff -u phpdoc/en/reference/pcntl/functions/pcntl-wtermsig.xml:1.3
phpdoc/en/reference/pcntl/functions/pcntl-wtermsig.xml:1.4
--- phpdoc/en/reference/pcntl/functions/pcntl-wtermsig.xml:1.3 Wed May 12
07:43:53 2004
+++ phpdoc/en/reference/pcntl/functions/pcntl-wtermsig.xml Sun Feb 4
02:46:17 2007
@@ -1,32 +1,30 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.1 -->
- <refentry id="function.pcntl-wtermsig">
- <refnamediv>
- <refname>pcntl_wtermsig</refname>
- <refpurpose>
- Returns the signal which caused the child to terminate
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>pcntl_wtermsig</methodname>
- <methodparam><type>int</type><parameter>status</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns the number of the signal that caused the child process to
- terminate. This function is only useful if
- <function>pcntl_wifsignaled</function> returned &true;.
- </para>
- &pcntl.parameter.status;
- <para>
- See also <function>pcntl_waitpid</function>,
- <function>pcntl_signal</function> and
- <function>pcntl_wifsignaled</function>.
- </para>
- </refsect1>
- </refentry>
+<refentry id="function.pcntl-wtermsig">
+ <refnamediv>
+ <refname>pcntl_wtermsig</refname>
+ <refpurpose>Returns the signal which caused the child to
terminate</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>pcntl_wtermsig</methodname>
+ <methodparam><type>int</type><parameter>status</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns the number of the signal that caused the child process to
+ terminate. This function is only useful if
+ <function>pcntl_wifsignaled</function> returned &true;.
+ </para>
+ &pcntl.parameter.status;
+ <para>
+ See also <function>pcntl_waitpid</function>,
+ <function>pcntl_signal</function> and
+ <function>pcntl_wifsignaled</function>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: