php-doc-en/reference/exec/functions/proc-nice.xml
Derick Rethans dcc970d81f - Fix documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132052 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 19:43:14 +00:00

56 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<refentry id='function.proc-nice'>
<refnamediv>
<refname>proc_nice</refname>
<refpurpose>
Change the priority of the current process
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>proc_nice</methodname>
<methodparam><type>int</type><parameter>priority</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.
</para>
<note>
<para>
<function>proc_nice</function> will only exist if your system has 'nice'
capabilities. 'nice' conforms to: SVr4, SVID EXT, AT&amp;T, X/OPEN, BSD
4.3. This means that <function>proc_nice</function> is not available
on Windows.
</para>
</note>
<para>
See also <function>proc_open</function> and
<function>proc_terminate</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->