From 01d2718356a6dc2df2e1141ce4d8e315e0f3f304 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Mon, 26 Feb 2007 01:40:44 +0000 Subject: [PATCH] Fix return values git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230799 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/exec/functions/passthru.xml | 9 +++- reference/exec/functions/proc-close.xml | 10 ++++- reference/exec/functions/proc-terminate.xml | 45 +++++++++++++++---- .../gnupg/functions/gnupg-seterrormode.xml | 9 +++- .../mysql/functions/mysql-field-seek.xml | 9 +++- .../paradox/functions/px-update-record.xml | 8 +++- .../functions/PDO-sqliteCreateAggregate.xml | 9 +++- .../functions/PDO-sqliteCreateFunction.xml | 9 +++- .../sesam/functions/sesam-disconnect.xml | 6 +-- .../functions/swishsearch-resetlimit.xml | 8 +++- .../swish/functions/swishsearch-setlimit.xml | 8 +++- .../swishsearch-setphrasedelimiter.xml | 8 +++- .../swish/functions/swishsearch-setsort.xml | 8 +++- .../functions/swishsearch-setstructure.xml | 8 +++- 14 files changed, 131 insertions(+), 23 deletions(-) diff --git a/reference/exec/functions/passthru.xml b/reference/exec/functions/passthru.xml index 5e08d9019e..a93feea929 100644 --- a/reference/exec/functions/passthru.xml +++ b/reference/exec/functions/passthru.xml @@ -1,5 +1,5 @@ - + @@ -54,6 +54,13 @@ + + &reftitle.returnvalues; + + &return.void; + + + &reftitle.notes; &warn.escapeshell; diff --git a/reference/exec/functions/proc-close.xml b/reference/exec/functions/proc-close.xml index a7d3b741dc..6f76947068 100644 --- a/reference/exec/functions/proc-close.xml +++ b/reference/exec/functions/proc-close.xml @@ -1,5 +1,5 @@ - + @@ -41,6 +41,14 @@ + + + &reftitle.returnvalues; + + Returns the termination status of the process that was run. + + + + proc_terminate @@ -19,13 +19,6 @@ proc_terminate returns immediately and does not wait for the process to terminate. - - The optional - signal is only useful on POSIX - operating systems; you may specify a signal to send to the process using - the kill(2) system call. The default is - SIGTERM. - proc_terminate allows you terminate the process and continue with other tasks. You may poll the process (to see if it has @@ -35,6 +28,42 @@ + + &reftitle.parameters; + + + + process + + + The proc_open resource that will + be closed. + + + + + signal + + + This optional parameter is only useful on POSIX + operating systems; you may specify a signal to send to the process + using the kill(2) system call. The default is + SIGTERM. + + + + + + + + + &reftitle.returnvalues; + + Returns the termination status of the process that was run. + + + + &reftitle.seealso; diff --git a/reference/gnupg/functions/gnupg-seterrormode.xml b/reference/gnupg/functions/gnupg-seterrormode.xml index 8522a89393..0017ac243f 100644 --- a/reference/gnupg/functions/gnupg-seterrormode.xml +++ b/reference/gnupg/functions/gnupg-seterrormode.xml @@ -1,5 +1,5 @@ - + gnupg_seterrormode @@ -23,6 +23,13 @@ + + &reftitle.returnvalues; + + &return.void; + + + &reftitle.examples; diff --git a/reference/mysql/functions/mysql-field-seek.xml b/reference/mysql/functions/mysql-field-seek.xml index 6123db3f55..ee3ed91acc 100644 --- a/reference/mysql/functions/mysql-field-seek.xml +++ b/reference/mysql/functions/mysql-field-seek.xml @@ -1,5 +1,5 @@ - + mysql_field_seek @@ -31,6 +31,13 @@ + + &reftitle.returnvalues; + + &return.success; + + + &reftitle.seealso; diff --git a/reference/paradox/functions/px-update-record.xml b/reference/paradox/functions/px-update-record.xml index fee68e0213..bb20a8bbe2 100644 --- a/reference/paradox/functions/px-update-record.xml +++ b/reference/paradox/functions/px-update-record.xml @@ -1,5 +1,5 @@ - + @@ -68,6 +68,12 @@ + + &reftitle.returnvalues; + + &return.success; + + &reftitle.seealso; diff --git a/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml b/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml index 2a41b9baaf..0d2ee73164 100644 --- a/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml +++ b/reference/pdo_sqlite/functions/PDO-sqliteCreateAggregate.xml @@ -1,5 +1,5 @@ - + PDO->sqliteCreateAggregate() @@ -121,6 +121,13 @@ + + &reftitle.returnvalues; + + &return.success; + + + &reftitle.examples; diff --git a/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml b/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml index 804b92fb62..e243cc9de9 100644 --- a/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml +++ b/reference/pdo_sqlite/functions/PDO-sqliteCreateFunction.xml @@ -1,5 +1,5 @@ - + PDO->sqliteCreateFunction() @@ -72,6 +72,13 @@ &sqlite.param-compat; + + &reftitle.returnvalues; + + &return.success; + + + &reftitle.examples; diff --git a/reference/sesam/functions/sesam-disconnect.xml b/reference/sesam/functions/sesam-disconnect.xml index 5035ab2b44..4d70a5dc07 100644 --- a/reference/sesam/functions/sesam-disconnect.xml +++ b/reference/sesam/functions/sesam-disconnect.xml @@ -1,5 +1,5 @@ - + sesam_disconnect @@ -32,8 +32,8 @@ - - &reftitle.examples; + + &reftitle.returnvalues; Always returns &true;. diff --git a/reference/swish/functions/swishsearch-resetlimit.xml b/reference/swish/functions/swishsearch-resetlimit.xml index 3dfd6d2af5..342a34ac17 100644 --- a/reference/swish/functions/swishsearch-resetlimit.xml +++ b/reference/swish/functions/swishsearch-resetlimit.xml @@ -1,5 +1,5 @@ - + SwishSearch->resetLimit @@ -17,6 +17,12 @@ . + + &reftitle.returnvalues; + + &return.void; + + &reftitle.examples; diff --git a/reference/swish/functions/swishsearch-setlimit.xml b/reference/swish/functions/swishsearch-setlimit.xml index 3c62e098ac..086207c9f1 100644 --- a/reference/swish/functions/swishsearch-setlimit.xml +++ b/reference/swish/functions/swishsearch-setlimit.xml @@ -1,5 +1,5 @@ - + SwishSearch->setLimit @@ -46,6 +46,12 @@ + + &reftitle.returnvalues; + + &return.void; + + &reftitle.errors; diff --git a/reference/swish/functions/swishsearch-setphrasedelimiter.xml b/reference/swish/functions/swishsearch-setphrasedelimiter.xml index 894ee0cd00..f9056897e6 100644 --- a/reference/swish/functions/swishsearch-setphrasedelimiter.xml +++ b/reference/swish/functions/swishsearch-setphrasedelimiter.xml @@ -1,5 +1,5 @@ - + SwishSearch->setPhraseDelimiter @@ -28,6 +28,12 @@ + + &reftitle.returnvalues; + + &return.void; + + &reftitle.examples; diff --git a/reference/swish/functions/swishsearch-setsort.xml b/reference/swish/functions/swishsearch-setsort.xml index dcf59f1ec9..b19c380936 100644 --- a/reference/swish/functions/swishsearch-setsort.xml +++ b/reference/swish/functions/swishsearch-setsort.xml @@ -1,5 +1,5 @@ - + SwishSearch->setSort @@ -31,6 +31,12 @@ + + &reftitle.returnvalues; + + &return.void; + + &reftitle.examples; diff --git a/reference/swish/functions/swishsearch-setstructure.xml b/reference/swish/functions/swishsearch-setstructure.xml index 9e10ca424c..6e8ca20e9e 100644 --- a/reference/swish/functions/swishsearch-setstructure.xml +++ b/reference/swish/functions/swishsearch-setstructure.xml @@ -1,5 +1,5 @@ - + SwishSearch->setStructure @@ -74,6 +74,12 @@ + + &reftitle.returnvalues; + + &return.void; + + &reftitle.examples;