diff options
author | Jason Greene <jason@php.net> | 2001-07-06 05:48:52 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2001-07-06 05:48:52 +0000 |
commit | 0bfa63490d89b53fa00c08dccbcb173043d5659f (patch) | |
tree | c270e476c19f1a7c9fb5bf2236726124a75a186d /ext/pcntl/php_pcntl.h | |
parent | 08d1178d6eb5fe49f540bd4e2703dacd4735cc5a (diff) | |
download | php-git-0bfa63490d89b53fa00c08dccbcb173043d5659f.tar.gz |
Added wait.h functionality to pcntl
Added tests for such functionality
Removed bogus files
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r-- | ext/pcntl/php_pcntl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index be570ea110..347c77f275 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -19,6 +19,7 @@ #ifndef PHP_PCNTL_H #define PHP_PCNTL_H +#include <sys/wait.h> #include "php_signal.h" #include "zend_extensions.h" extern zend_module_entry pcntl_module_entry; @@ -38,6 +39,12 @@ PHP_MINFO_FUNCTION(pcntl); PHP_FUNCTION(pcntl_fork); PHP_FUNCTION(pcntl_waitpid); +PHP_FUNCTION(pcntl_wifexited); +PHP_FUNCTION(pcntl_wifstopped); +PHP_FUNCTION(pcntl_wifsignaled); +PHP_FUNCTION(pcntl_wexitstatus); +PHP_FUNCTION(pcntl_wtermsig); +PHP_FUNCTION(pcntl_wstopsig); PHP_FUNCTION(pcntl_signal); static void pcntl_signal_handler(int); |