diff options
author | Tony Cook <tony@develop-help.com> | 2017-09-27 15:27:14 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2017-10-16 11:18:33 +1100 |
commit | 7596fda6b1aaa11aff71a817f818bdd61bc2ae62 (patch) | |
tree | 8abfbf7a04710dd62e1bc06234069dca82062349 /pod/perlfunc.pod | |
parent | 4fd667a8b4c09331100c2a13db9d92f0961dfcf7 (diff) | |
download | perl-7596fda6b1aaa11aff71a817f818bdd61bc2ae62.tar.gz |
(perl #131982) update the set/getpriority documentation too
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 665e07408a..e753d5f010 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2989,6 +2989,9 @@ Returns the current priority for a process, a process group, or a user. (See L<getpriority(2)>.) Will raise a fatal exception if used on a machine that doesn't implement L<getpriority(2)>. +C<WHICH> can be any of C<PRIO_PROCESS>, C<PRIO_PGRP> or C<PRIO_USER> +imported from L<POSIX/RESOURCE CONSTANTS>. + Portability issues: L<perlport/getpriority>. =item getpwnam NAME @@ -7036,6 +7039,9 @@ Sets the current priority for a process, a process group, or a user. (See L<setpriority(2)>.) Raises an exception when used on a machine that doesn't implement L<setpriority(2)>. +C<WHICH> can be any of C<PRIO_PROCESS>, C<PRIO_PGRP> or C<PRIO_USER> +imported from L<POSIX/RESOURCE CONSTANTS>. + Portability issues: L<perlport/setpriority>. =item setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL |