cvs: php4 /ext/pcntl pcntl.c
| From: | Egon Schmid | Date: | Thu, 08 Nov 2001 22:11:41 +0000 |
| Subject: | cvs: php4 /ext/pcntl pcntl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8106@lists.php.net to get a copy of this message | ||
eschmid Thu Nov 8 17:11:41 2001 EDT
Modified files:
/php4/ext/pcntl pcntl.c
Log:
Some protos fixed.
Index: php4/ext/pcntl/pcntl.c
diff -u php4/ext/pcntl/pcntl.c:1.15 php4/ext/pcntl/pcntl.c:1.16
--- php4/ext/pcntl/pcntl.c:1.15 Thu Nov 8 15:23:32 2001
+++ php4/ext/pcntl/pcntl.c Thu Nov 8 17:11:41 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pcntl.c,v 1.15 2001/11/08 20:23:32 derick Exp $ */
+/* $Id: pcntl.c,v 1.16 2001/11/08 22:11:41 eschmid Exp $ */
#define PCNTL_DEBUG 0
@@ -203,7 +203,7 @@
php_info_print_table_end();
}
-/* {{{ proto int pcntl_fork()
+/* {{{ proto int pcntl_fork(void)
Forks the currently running process following the same behavior as the UNIX fork() system call*/
PHP_FUNCTION(pcntl_fork)
{
@@ -219,7 +219,7 @@
/* }}} */
/* {{{ proto int pcntl_waitpid(long pid, long status, long options)
- Waits on or returns the status of a forked child as defined by the waitpid() system call */
+ Waits on or returns the status of a forked child as defined by the waitpid() system call */
PHP_FUNCTION(pcntl_waitpid)
{
zval **pid, **status, **options;
@@ -264,7 +264,7 @@
/* }}} */
/* {{{ proto bool pcntl_wifstopped(long status)
- Returns true if the child status code represents a stopped process (WUNTRACED must have been
used with waitpid) */
+ Returns true if the child status code represents a stopped process (WUNTRACED must have been
used with waitpid) */
PHP_FUNCTION(pcntl_wifstopped)
{
#ifdef WIFSTOPPED
@@ -348,7 +348,7 @@
/* }}} */
/* {{{ proto int pcntl_wstopsig(long status)
- Returns the number of the signal that caused the process to stop who's status code is
passed */
+ Returns the number of the signal that caused the process to stop who's status code is
passed */
PHP_FUNCTION(pcntl_wstopsig)
{
#ifdef WSTOPSIG
@@ -369,7 +369,7 @@
/* }}} */
/* {{{ proto bool pcntl_exec(string path, [array args], [array envs])
- Executes specified program in current process space as defined by exec(2) */
+ Executes specified program in current process space as defined by exec(2) */
PHP_FUNCTION(pcntl_exec)
{
zval *args, *envs;
@@ -459,7 +459,7 @@
/* }}} */
/* {{{ proto bool pcntl_signal(long signo, mixed handle)
- Assigns a system signal handler to a php function */
+ Assigns a system signal handler to a PHP function */
PHP_FUNCTION(pcntl_signal)
{
zval **signo, **handle;