Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 3873

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>proc_nice</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="Program Execution Functions"
HREF="ref.exec.html"><LINK
REL="PREVIOUS"
TITLE="proc_get_status"
HREF="function.proc-get-status.html"><LINK
REL="NEXT"
TITLE="proc_open"
HREF="function.proc-open.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.proc-get-status.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.proc-open.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.proc-nice"
></A
>proc_nice</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN189165"
></A
><P
>    (PHP 5)</P
>proc_nice&nbsp;--&nbsp;Change the priority of the current process</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN189168"
></A
><H2
>说明</H2
>bool <B
CLASS="methodname"
>proc_nice</B
> ( int increment )<BR
></BR
><P
>&#13;   <B
CLASS="function"
>proc_nice()</B
> changes the priority of the current
   process by the amount specified in <CODE
CLASS="parameter"
>increment</CODE
>. A
   positive <CODE
CLASS="parameter"
>increment</CODE
> will lower the priority of the
   current process, whereas a negative <CODE
CLASS="parameter"
>increment</CODE
>
   will raise the priority.
  </P
><P
>&#13;   <B
CLASS="function"
>proc_nice()</B
> is not related to
   <A
HREF="function.proc-open.html"
><B
CLASS="function"
>proc_open()</B
></A
> and its associated functions in any way.
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN189184"
></A
><H2
>参数</H2
><P
>&#13;   <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><CODE
CLASS="parameter"
>increment</CODE
></DT
><DD
><P
>&#13;       The increment value of the priority change.
      </P
></DD
></DL
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN189193"
></A
><H2
>返回值</H2
><P
>&#13;   如果成功则返回 <TT
CLASS="constant"
><B
>TRUE</B
></TT
>,失败则返回 <TT
CLASS="constant"
><B
>FALSE</B
></TT
>。
   If an error occurs, like the user lacks permission to change the priority, 
   an error of level <TT
CLASS="constant"
><B
>E_WARNING</B
></TT
> is also generated.
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN189199"
></A
><H2
>注释</H2
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Availability: </B
>
    <B
CLASS="function"
>proc_nice()</B
> will only exist if your system has 'nice'
    capabilities. 'nice' conforms to: SVr4, SVID EXT, AT&#38;T, X/OPEN, BSD
    4.3. This means that <B
CLASS="function"
>proc_nice()</B
> is not available
    on Windows.
   </P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.proc-get-status.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.proc-open.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>proc_get_status</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.exec.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>proc_open</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>