From a08fa2cdb905d6912b37aea390a831bbb46c3863 Mon Sep 17 00:00:00 2001 From: Kenneth Schwartz Date: Wed, 25 Feb 2004 17:36:15 +0000 Subject: [PATCH] finished up get/setpriority docs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@152372 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../pcntl/functions/pcntl-getpriority.xml | 17 +++++++++++---- .../pcntl/functions/pcntl-setpriority.xml | 21 +++++++++++++++---- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/reference/pcntl/functions/pcntl-getpriority.xml b/reference/pcntl/functions/pcntl-getpriority.xml index 78c886831a..a023b144c1 100644 --- a/reference/pcntl/functions/pcntl-getpriority.xml +++ b/reference/pcntl/functions/pcntl-getpriority.xml @@ -1,5 +1,5 @@ - + pcntl_getpriority @@ -12,11 +12,20 @@ intpcntl_getpriority intpid - intprocess_identifier - &warn.undocumented.func; + pcntl_getpriority gets the priority of + pid. If pid is not + specified, the pid of the current process is used. Because priority + levels can differ between system types and kernel versions, please see + your system's getpriority(2) man page for specific details. + + pcntl_getpriority returns the priority of the process + or &false; on error. A lower numerical value causes more favorable + scheduling. + + &return.falseproblem; @@ -39,4 +48,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file diff --git a/reference/pcntl/functions/pcntl-setpriority.xml b/reference/pcntl/functions/pcntl-setpriority.xml index 56982f0fda..2072613be9 100644 --- a/reference/pcntl/functions/pcntl-setpriority.xml +++ b/reference/pcntl/functions/pcntl-setpriority.xml @@ -1,5 +1,5 @@ - + pcntl_setpriority @@ -13,10 +13,23 @@ boolpcntl_setpriority intpriority intpid - intprocess_identifier - &warn.undocumented.func; + pcntl_setpriority sets the priority of + pid to priority. If + pid is not specified, the pid of the current + process is used. + + + priority is generally a value in the range + -20 to 20. The default priority + is 0 while a lower numerical value causes more + favorable scheduling. Because priority levels can differ between + system types and kernel versions, please see your system's setpriority(2) + man page for specific details. + + + &return.success; @@ -40,4 +53,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file