Skip to content

[Sync-EN] Document the RFTSIGZMB and RFTHREAD flags of pcntl_rfork() - #1756

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1675
Open

lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1675

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Syncs reference/pcntl/functions/pcntl-rfork.xml with php/doc-en#5446.

  • Adds the two missing flags members: RFTSIGZMB, which makes the kernel deliver the signal given by signal to the parent on child exit instead of SIGCHLD (0 disabling delivery), and RFTHREAD, which shares the file descriptor to process leaders table with the parent when neither RFFDG nor RFCFDG is set.
  • The signal parameter is described instead of just "the signal number": it is only used with RFTSIGZMB, and 0 disables delivery.
  • Fixes the SIGCHILD typo in the RFLINUXTHPN member: the signal is SIGCHLD.

EN-Revision bumped to e43fb30acb61e76ef50174ec84c2aa33674a3828.

Fixes: #1675

@lacatoire
lacatoire requested a review from a team as a code owner August 31, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Document missing RFTSIGZMB and RFTHREAD flags in pcntl_rfork()

1 participant