diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-02-16 10:13:02 +0100 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-02-16 10:13:02 +0100 |
| commit | fd5a0b31640419ca63d1ddeaffd6d3cf2a741814 (patch) | |
| tree | bfd17d84c5181d7b98d7d66f56573f4fc897e31c /ext/pcntl/php_pcntl.h | |
| parent | 01fcdff3849c3691d9aaeaab735846ab6d8895ca (diff) | |
| download | php-upstream/5.3.5.tar.gz | |
Imported Upstream version 5.3.5upstream/5.3.5
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
| -rw-r--r-- | ext/pcntl/php_pcntl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index 8b7a1f13e..8d48f9c60 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pcntl.h 293036 2010-01-03 09:23:27Z sebastian $ */ +/* $Id: php_pcntl.h 305016 2010-11-01 20:22:23Z lbarnaud $ */ #ifndef PHP_PCNTL_H #define PHP_PCNTL_H @@ -42,6 +42,8 @@ PHP_FUNCTION(pcntl_wtermsig); PHP_FUNCTION(pcntl_wstopsig); PHP_FUNCTION(pcntl_signal); PHP_FUNCTION(pcntl_signal_dispatch); +PHP_FUNCTION(pcntl_get_last_error); +PHP_FUNCTION(pcntl_strerror); #ifdef HAVE_SIGPROCMASK PHP_FUNCTION(pcntl_sigprocmask); #endif @@ -66,6 +68,7 @@ ZEND_BEGIN_MODULE_GLOBALS(pcntl) HashTable php_signal_table; int processing_signal_queue; struct php_pcntl_pending_signal *head, *tail, *spares; + int last_error; ZEND_END_MODULE_GLOBALS(pcntl) #ifdef ZTS @@ -74,6 +77,8 @@ ZEND_END_MODULE_GLOBALS(pcntl) #define PCNTL_G(v) (pcntl_globals.v) #endif +#define REGISTER_PCNTL_ERRNO_CONSTANT(name) REGISTER_LONG_CONSTANT("PCNTL_" #name, name, CONST_CS | CONST_PERSISTENT) + #endif /* PHP_PCNTL_H */ |
