summaryrefslogtreecommitdiff
path: root/ext/POSIX/lib/POSIX.pod
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2017-09-27 15:18:17 +1000
committerTony Cook <tony@develop-help.com>2017-10-16 11:17:21 +1100
commit4fd667a8b4c09331100c2a13db9d92f0961dfcf7 (patch)
treea67c74bffd0b2414f53c76bad726b48637147ef7 /ext/POSIX/lib/POSIX.pod
parentbda53d3ed47d5776c4a1b88c0b7cfb484f5644be (diff)
downloadperl-4fd667a8b4c09331100c2a13db9d92f0961dfcf7.tar.gz
(perl #131982) provide constants for get/setpriority in POSIX.pm
<sys/time.h> isn't necessarily needed, but apparently increases portability, since the rusage structure defined in <sys/resource.h> has struct timeval members.
Diffstat (limited to 'ext/POSIX/lib/POSIX.pod')
-rw-r--r--ext/POSIX/lib/POSIX.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod
index 722cf8ea8c..0d7a1a0809 100644
--- a/ext/POSIX/lib/POSIX.pod
+++ b/ext/POSIX/lib/POSIX.pod
@@ -2465,6 +2465,18 @@ C<_POSIX_TZNAME_MAX> C<_POSIX_VDISABLE> C<_POSIX_VERSION>
=back
+=head1 RESOURCE CONSTANTS
+
+Imported with the C<:sys_resource_h> tag.
+
+=over 8
+
+=item Constants
+
+C<PRIO_PROCESS> C<PRIO_PGRP> C<PRIO_USER>
+
+=back
+
=head1 SYSTEM CONFIGURATION
=over 8