Skip to content

Commit e0e347b

Browse files
committed
Fix GH-9923: Add the SIGINFO constant in pcntl for system supporting it.
Closes #9938
1 parent 9c6dd46 commit e0e347b

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ PHP NEWS
4646

4747
- PCNTL:
4848
. SA_ONSTACK is now set for pcntl_signal. (Kévin Dunglas)
49+
. Added SIGINFO constant. (David Carlier)
4950

5051
- Posix:
5152
. Added posix_sysconf. (David Carlier)

UPGRADING

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ PHP 8.3 UPGRADE NOTES
7777
10. New Global Constants
7878
========================================
7979

80+
- PCNTL:
81+
. SIGINFO
82+
8083
- Posix:
8184
. POSIX_SC_ARG_MAX
8285
. POSIX_SC_PAGESIZE

ext/pcntl/pcntl.stub.php

+7
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@
224224
*/
225225
const SIGPWR = UNKNOWN;
226226
#endif
227+
#ifdef SIGINFO
228+
/**
229+
* @var int
230+
* @cvalue LONG_CONST(SIGINFO)
231+
*/
232+
const SIGINFO = UNKNOWN;
233+
#endif
227234
#ifdef SIGSYS
228235
/**
229236
* @var int

ext/pcntl/pcntl_arginfo.h

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)