Skip to content

[Sync-En] pcntl: fix reference pages and document 8.4 failure return - #3344

Merged
lacatoire merged 1 commit into
php:masterfrom
lacatoire:feat/sync-en-pcntl-84-changes
Aug 25, 2026
Merged

[Sync-En] pcntl: fix reference pages and document 8.4 failure return#3344
lacatoire merged 1 commit into
php:masterfrom
lacatoire:feat/sync-en-pcntl-84-changes

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Fixes #3333

  • constants.xml: remove SI_MSGGQ (the constant is SI_MESGQ and is already documented)
  • pcntl_exec(): clarify that on success the function does not return, because the process image is replaced
  • pcntl_unshare(): returns bool, not 0 or -1
  • pcntl_sigprocmask(), pcntl_sigtimedwait(), pcntl_sigwaitinfo(): classname→exceptionname, signal→signals parameter name
  • pcntl_sigtimedwait(), pcntl_sigwaitinfo(): document that failure now returns false since 8.4.0
  • pcntl_sigprocmask(): empty signals array is accepted when mode is SIG_SETMASK
  • pcntl_sigtimedwait(): nanoseconds must be between 0 and 1e9, not merely non-negative
  • seealso: move simplelist out of their para

- constants.xml: remove SI_MSGGQ (does not exist, SI_MESGQ is already documented)
- pcntl_exec(): clarify that on success the function does not return
- pcntl_unshare(): returns bool, not 0/-1
- pcntl_sigprocmask/sigtimedwait/sigwaitinfo: classname→exceptionname, signal→signals parameter name
- pcntl_sigtimedwait/sigwaitinfo: document that failure now returns false since 8.4.0
- pcntl_sigprocmask: empty signals array accepted with SIG_SETMASK
- pcntl_sigtimedwait: nanoseconds must be between 0 and 1e9
- seealso: move simplelist out of para
@lacatoire
lacatoire merged commit 578b0c7 into php:master Aug 25, 2026
5 checks passed
@lacatoire
lacatoire deleted the feat/sync-en-pcntl-84-changes branch August 25, 2026 08:20
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] pcntl: fix the reference pages and document the 8.4 failure return (#5767)

1 participant