summaryrefslogtreecommitdiff
path: root/man2/sched_get_priority_max.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-06-07 17:25:32 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-12 14:56:28 +0200
commitc6fa0841a994c9588432d281925b964ad6d71966 (patch)
tree555174b0e03bcd8ff56d72bee8480860a6aafe04 /man2/sched_get_priority_max.2
parent42c3e94740fbcd17f22c1d545a8a678f74632e2b (diff)
time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/sched_get_priority_max.2')
-rw-r--r--man2/sched_get_priority_max.230
1 files changed, 22 insertions, 8 deletions
diff --git a/man2/sched_get_priority_max.2 b/man2/sched_get_priority_max.2
index 329775b94..9c57c514c 100644
--- a/man2/sched_get_priority_max.2
+++ b/man2/sched_get_priority_max.2
@@ -38,11 +38,14 @@ sched_get_priority_max, sched_get_priority_min \- get static priority range
.SH DESCRIPTION
.BR sched_get_priority_max ()
returns the maximum priority value that can be used with the
-scheduling algorithm identified by \fIpolicy\fP.
+scheduling algorithm identified by
+.IR policy .
.BR sched_get_priority_min ()
returns the minimum priority value that can be used with the
-scheduling algorithm identified by \fIpolicy\fP.
-Supported \fIpolicy\fP
+scheduling algorithm identified by
+.IR policy .
+Supported
+.I policy
values are
.BR SCHED_FIFO ,
.BR SCHED_RR ,
@@ -62,8 +65,13 @@ value returned by
.BR sched_get_priority_min ().
Linux allows the static priority value range 1 to 99 for
-\fBSCHED_FIFO\fP and \fBSCHED_RR\fP and the priority 0 for
-\fBSCHED_OTHER\fP and \fBSCHED_BATCH\fP.
+.B SCHED_FIFO
+and
+.B SCHED_RR
+and the priority 0 for
+.B SCHED_OTHER
+and
+.BR SCHED_BATCH .
Scheduling priority ranges for the various policies
are not alterable.
@@ -74,7 +82,10 @@ priority range and map it to the interval given by
and
.BR sched_get_priority_min ().
POSIX.1-2001 requires a spread of at least 32 between the maximum and the
-minimum values for \fBSCHED_FIFO\fP and \fBSCHED_RR\fP.
+minimum values for
+.B SCHED_FIFO
+and
+.BR SCHED_RR .
POSIX systems on which
.BR sched_get_priority_max ()
@@ -82,7 +93,8 @@ and
.BR sched_get_priority_min ()
are available define
.B _POSIX_PRIORITY_SCHEDULING
-in \fI<unistd.h>\fP.
+in
+.IR <unistd.h> .
.SH RETURN VALUE
On success,
.BR sched_get_priority_max ()
@@ -96,7 +108,9 @@ is set appropriately.
.SH ERRORS
.TP
.B EINVAL
-The argument \fIpolicy\fP does not identify a defined scheduling policy.
+The argument
+.I policy
+does not identify a defined scheduling policy.
.SH CONFORMING TO
POSIX.1-2001.
.SH SEE ALSO