diff --git a/reference/pcntl/functions/pcntl-rfork.xml b/reference/pcntl/functions/pcntl-rfork.xml index 720b43ef533a..e2442f57531c 100644 --- a/reference/pcntl/functions/pcntl-rfork.xml +++ b/reference/pcntl/functions/pcntl-rfork.xml @@ -48,9 +48,20 @@ Is mutually exclusive with RFFDG. - RFLINUXTHPN: If set, the kernel will return SIGUSR1 instead of SIGCHILD upon thread exit for the child. + RFLINUXTHPN: If set, the kernel will return SIGUSR1 instead of SIGCHLD upon thread exit for the child. This is intended to do Linux clone exit parent notification. + + RFTSIGZMB: If set, the kernel will deliver the signal specified + by the signal parameter to the parent upon the child exit, + instead of the default SIGCHLD. Specifying signal number 0 disables signal + delivery upon the child exit. + + + RFTHREAD: If set, the new process shares file descriptor + to process leaders table with its parent. Only applies when neither + RFFDG nor RFCFDG are set. + @@ -58,9 +69,11 @@ signal - - The signal number. - + + The signal number to deliver to the parent when the child exits. + This is only used when the RFTSIGZMB flag is set. + Specifying 0 disables signal delivery upon the child exit. +