- Explain that the parameter is an increment value. Fixes bug #29638.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166187 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dave Barr 2004-08-12 20:15:27 +00:00
parent b47cadeca3
commit 904db3991f

View file

@ -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>