summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_pcntl.h
diff options
context:
space:
mode:
authorDavid Walker <dave@mudsite.com>2016-07-02 10:44:17 -0600
committerAaron Piotrowski <aaron@trowski.com>2016-07-06 13:57:37 -0500
commit217dcbcd911ad0552a4435fe979c069a5ddaef9f (patch)
treea5726df21a98b0dab3fd72c41ff9fa9f543a70f0 /ext/pcntl/php_pcntl.h
parent023b81259325c00012c0f703976c082be72dc5b9 (diff)
downloadphp-git-217dcbcd911ad0552a4435fe979c069a5ddaef9f.tar.gz
Fix #72409 - return previous handler
This patch addresses https://bugs.php.net/bug.php?id=72409 This patch is applied to master compared to PR#1952 which was patching 5.6.x branch of PHP This patch takes into account discussions on PR #1978 Addressing that rather than have pcntl_signal() return a value to create a new function that can be used to get the current value of the signal handler.
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r--ext/pcntl/php_pcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h
index 816bffb480..856ebe33ef 100644
--- a/ext/pcntl/php_pcntl.h
+++ b/ext/pcntl/php_pcntl.h
@@ -51,6 +51,7 @@ PHP_FUNCTION(pcntl_wexitstatus);
PHP_FUNCTION(pcntl_wtermsig);
PHP_FUNCTION(pcntl_wstopsig);
PHP_FUNCTION(pcntl_signal);
+PHP_FUNCTION(pcntl_signal_get_handler);
PHP_FUNCTION(pcntl_signal_dispatch);
PHP_FUNCTION(pcntl_get_last_error);
PHP_FUNCTION(pcntl_strerror);