aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/rtprio.2
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
commitc6ff3a1bf74d96278726113478b2c66884aab584 (patch)
tree6fdc69d4aab26ec98c8573dbb7c07e9edbb0900a /lib/libc/sys/rtprio.2
parent55609eba05d32edc56e3f69740099d4d9b095cef (diff)
downloadsrc-c6ff3a1bf74d96278726113478b2c66884aab584.tar.gz
src-c6ff3a1bf74d96278726113478b2c66884aab584.zip
Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
Notes
Notes: svn path=/head/; revision=57686
Diffstat (limited to 'lib/libc/sys/rtprio.2')
-rw-r--r--lib/libc/sys/rtprio.215
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2
index 579ed1bf45c0..3ee2a91b2789 100644
--- a/lib/libc/sys/rtprio.2
+++ b/lib/libc/sys/rtprio.2
@@ -44,7 +44,8 @@
is used to lookup or change the realtime or idle priority of a process.
.Fa function
-specifies the operation to be performed. RTP_LOOKUP to lookup the current priority,
+specifies the operation to be performed.
+RTP_LOOKUP to lookup the current priority,
and RTP_SET to set the priority.
.Fa pid
specifies the process to be used, 0 for the current process.
@@ -73,11 +74,14 @@ Realtime and idle priority is inherited through fork() and exec().
A realtime process can only be preempted by a process of equal or
higher priority, or by an interrupt; idle priority processes will run only
-when no other real/normal priority process is runnable. Higher real/idle priority processes
-preempt lower real/idle priority processes. Processes of equal real/idle priority are run round-robin.
+when no other real/normal priority process is runnable.
+Higher real/idle priority processes
+preempt lower real/idle priority processes.
+Processes of equal real/idle priority are run round-robin.
.Sh RETURN VALUES
.Fn rtprio
-will return 0 for success and -1 for all errors. The global variable
+will return 0 for success and -1 for all errors.
+The global variable
.Va errno
will be set to indicate the error.
.Sh ERRORS
@@ -89,7 +93,8 @@ The specified
.Fa prio
was out of range.
.It Bq Er EPERM
-The calling process is not allowed to set the realtime priority. Only
+The calling process is not allowed to set the realtime priority.
+Only
root is allowed to change the realtime priority of any process, and non-root
may only change the idle priority of the current process.
.It Bq Er ESRCH