Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion reference/pcntl/functions/pcntl-rfork.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@
<constant>RFLINUXTHPN</constant>: If set, the kernel will return SIGUSR1 instead of SIGCHILD upon thread exit for the child.
This is intended to do Linux clone exit parent notification.
</member>
<member>
<constant>RFTSIGZMB</constant>: If set, the kernel will deliver the signal specified
by the <parameter>signal</parameter> parameter to the parent upon the child exit,
instead of the default SIGCHLD. Specifying signal number 0 disables signal
delivery upon the child exit.
</member>
<member>
<constant>RFTHREAD</constant>: If set, the new process shares file descriptor
to process leaders table with its parent. Only applies when neither
<constant>RFFDG</constant> nor <constant>RFCFDG</constant> are set.
</member>
</simplelist>
</para>
</listitem>
Expand All @@ -59,7 +70,9 @@
<term><parameter>signal</parameter></term>
<listitem>
<para>
The signal number.
The signal number to deliver to the parent when the child exits.
This is only used when the <constant>RFTSIGZMB</constant> flag is set.
Specifying <literal>0</literal> disables signal delivery upon the child exit.
</para>
</listitem>
</varlistentry>
Expand Down