summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.c
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-07-06 06:00:51 +0000
committerJason Greene <jason@php.net>2001-07-06 06:00:51 +0000
commit14646bf08e38d7ac8583e4f33153724dc35d6c87 (patch)
tree5f2f3542fbab45d9ea0d924784f2354569f753fa /ext/pcntl/pcntl.c
parent0bfa63490d89b53fa00c08dccbcb173043d5659f (diff)
downloadphp-git-14646bf08e38d7ac8583e4f33153724dc35d6c87.tar.gz
Fix proto's and some ws ugliness
Diffstat (limited to 'ext/pcntl/pcntl.c')
-rwxr-xr-xext/pcntl/pcntl.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index fc015de34d..47da23fa28 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -41,13 +41,13 @@ static int pcntl_zend_extension_active;
function_entry pcntl_functions[] = {
PHP_FE(pcntl_fork, NULL)
PHP_FE(pcntl_waitpid, NULL)
- PHP_FE(pcntl_signal, NULL)
+ PHP_FE(pcntl_signal, NULL)
PHP_FE(pcntl_wifexited, NULL)
- PHP_FE(pcntl_wifstopped, NULL)
- PHP_FE(pcntl_wifsignaled, NULL)
- PHP_FE(pcntl_wexitstatus, NULL)
- PHP_FE(pcntl_wtermsig, NULL)
- PHP_FE(pcntl_wstopsig, NULL)
+ PHP_FE(pcntl_wifstopped, NULL)
+ PHP_FE(pcntl_wifsignaled, NULL)
+ PHP_FE(pcntl_wexitstatus, NULL)
+ PHP_FE(pcntl_wtermsig, NULL)
+ PHP_FE(pcntl_wstopsig, NULL)
{NULL, NULL, NULL}
};
@@ -230,7 +230,7 @@ PHP_FUNCTION(pcntl_waitpid)
}
/* }}} */
-/* {{{ proto bool pcntl_wifexited()
+/* {{{ proto bool pcntl_wifexited(long status)
Returns true if the child status code represents a successful exit */
PHP_FUNCTION(pcntl_wifexited)
{
@@ -250,7 +250,7 @@ PHP_FUNCTION(pcntl_wifexited)
}
/* }}} */
-/* {{{ proto bool pcntl_wifstopped()
+/* {{{ proto bool pcntl_wifstopped(long status)
Returns true if the child status code represents a stopped process (WUNTRACED must have been used with waitpid) */
PHP_FUNCTION(pcntl_wifstopped)
{
@@ -270,7 +270,7 @@ PHP_FUNCTION(pcntl_wifstopped)
}
/* }}} */
-/* {{{ proto bool pcntl_wifsignaled()
+/* {{{ proto bool pcntl_wifsignaled(long status)
Returns true if the child status code represents a process that was terminated due to a signal */
PHP_FUNCTION(pcntl_wifsignaled)
{
@@ -290,7 +290,7 @@ PHP_FUNCTION(pcntl_wifsignaled)
}
/* }}} */
-/* {{{ proto long pcntl_wexitstatus()
+/* {{{ proto long pcntl_wexitstatus(long status)
Returns the status code of a child's exit */
PHP_FUNCTION(pcntl_wexitstatus)
{
@@ -313,7 +313,7 @@ PHP_FUNCTION(pcntl_wexitstatus)
}
/* }}} */
-/* {{{ proto long pcntl_wtermsig()
+/* {{{ proto long pcntl_wtermsig(long status)
Returns the number of the signal that terminated the process who's status code is passed */
PHP_FUNCTION(pcntl_wtermsig)
{
@@ -334,7 +334,7 @@ PHP_FUNCTION(pcntl_wtermsig)
}
/* }}} */
-/* {{{ proto long pcntl_wstopsig()
+/* {{{ proto long pcntl_wstopsig(long status)
Returns the number of the signal that caused the process to stop who's status code is passed */
PHP_FUNCTION(pcntl_wstopsig)
{