cvs: phpdoc /en/reference/exec/functions proc-nice.xml

From: Date: Thu, 12 Aug 2004 20:15:28 +0000
Subject: cvs: phpdoc /en/reference/exec/functions proc-nice.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363101@lists.php.net to get a copy of this message
dave Thu Aug 12 16:15:28 2004 EDT Modified files: /phpdoc/en/reference/exec/functions proc-nice.xml Log: - Explain that the parameter is an increment value. Fixes bug #29638. http://cvs.php.net/diff.php/phpdoc/en/reference/exec/functions/proc-nice.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/exec/functions/proc-nice.xml diff -u phpdoc/en/reference/exec/functions/proc-nice.xml:1.3 phpdoc/en/reference/exec/functions/proc-nice.xml:1.4 --- phpdoc/en/reference/exec/functions/proc-nice.xml:1.3 Sun Jun 22 08:20:10 2003 +++ phpdoc/en/reference/exec/functions/proc-nice.xml Thu Aug 12 16:15:27 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id='function.proc-nice'> <refnamediv> <refname>proc_nice</refname> @@ -11,13 +11,15 @@ <title>Description</title> <methodsynopsis> <type>bool</type><methodname>proc_nice</methodname> - <methodparam><type>int</type><parameter>priority</parameter></methodparam> + <methodparam><type>int</type><parameter>increment</parameter></methodparam> </methodsynopsis> <para> - <function>proc_nice</function> changes the priority of the current - process. If an error occurs, like the user lacks permission to change - the priority, an error of level <constant>E_WARNING</constant> is - generated and &false; is returned. Otherwise, &true; is returned. + <function>proc_nice</function> increases the priority of the current + process. You can use a negative <parameter>increment</parameter> to + decrease the priority. If an error occurs, like the user lacks permission + to change the priority, an error of level + <constant>E_WARNING</constant> is generated and &false; is returned. + Otherwise, &true; is returned. </para> <note> <para>

« previous php.doc (#969363101) next »