- + = lower priority, - = higher priority.

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

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id='function.proc-nice'>
<refnamediv>
<refname>proc_nice</refname>
@ -14,10 +14,12 @@
<methodparam><type>int</type><parameter>increment</parameter></methodparam>
</methodsynopsis>
<para>
<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
<function>proc_nice</function> changes the priority of the current
process by the amount specified in <parameter>increment</parameter>. A
positive <parameter>increment</parameter> will lower the priority of the
current process, whereas a negative <parameter>increment</parameter>
will raise 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>