summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-05-20 13:35:13 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-05-20 13:35:13 +0000
commit4b7c5cea4bec6f9a82c16d0a67865b00ca504aae (patch)
tree2bd6122161c4d3c46ffa49d38aa994cde3e55667 /ext
parent78b874f85ee4629324f5969db0fd81b98ef5f685 (diff)
downloadphp-git-4b7c5cea4bec6f9a82c16d0a67865b00ca504aae.tar.gz
proto and typo fixes
Diffstat (limited to 'ext')
-rwxr-xr-xext/pcntl/pcntl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index bc639c15b7..17a87169ab 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -463,7 +463,7 @@ PHP_FUNCTION(pcntl_exec)
}
/* }}} */
-/* {{{ proto bool pcntl_signal(long signo, mixed handle, [bool restart_syscalls])
+/* {{{ proto bool pcntl_signal(long signo, callback handle, [bool restart_syscalls])
Assigns a system signal handler to a PHP function */
PHP_FUNCTION(pcntl_signal)
{
@@ -633,7 +633,7 @@ void pcntl_tick_handler()
ZVAL_LONG(param, *signal_num);
- /* Call php singal handler - Note that we do not report errors, and we ignore the eturn value */
+ /* Call php singal handler - Note that we do not report errors, and we ignore the return value */
call_user_function(EG(function_table), NULL, *handle, retval, 1, &param TSRMLS_CC);
}
/* Clear */