summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_pcntl.h
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-07-06 05:48:52 +0000
committerJason Greene <jason@php.net>2001-07-06 05:48:52 +0000
commit0bfa63490d89b53fa00c08dccbcb173043d5659f (patch)
treec270e476c19f1a7c9fb5bf2236726124a75a186d /ext/pcntl/php_pcntl.h
parent08d1178d6eb5fe49f540bd4e2703dacd4735cc5a (diff)
downloadphp-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.h7
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);