From 7326a94c1857d0b13695d3898dbab9b1e14e04c6 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 14 Dec 2007 22:51:57 +0000 Subject: [PATCH] Improve markup. --- lib/libc/sys/rtprio.2 | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index 75bc973374..e07182aca1 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -28,7 +28,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/lib/libc/sys/rtprio.2,v 1.13.2.9 2001/12/14 18:34:01 ru Exp $ -.\" $DragonFly: src/lib/libc/sys/rtprio.2,v 1.4 2006/02/17 19:35:06 swildner Exp $ +.\" $DragonFly: src/lib/libc/sys/rtprio.2,v 1.5 2007/12/14 22:51:57 swildner Exp $ .\" .Dd July 23, 1994 .Dt RTPRIO 2 @@ -49,13 +49,17 @@ is used to lookup or change the realtime or idle priority of a process. .Pp .Fa function specifies the operation to be performed. -RTP_LOOKUP to lookup the current priority, -and RTP_SET to set the priority. +.Dv RTP_LOOKUP +to lookup the current priority, and +.Dv RTP_SET +to set the priority. .Fa pid specifies the process to be used, 0 for the current process. .Pp .Fa *rtp -is a pointer to a struct rtprio which is used to specify the priority and priority type. +is a pointer to a +.Vt struct rtprio +which is used to specify the priority and priority type. This structure has the following form: .Bd -literal struct rtprio { @@ -66,15 +70,23 @@ struct rtprio { .Pp The value of the .Nm type -field may be RTP_PRIO_REALTIME for realtime priorities, -RTP_PRIO_NORMAL for normal priorities, and RTP_PRIO_IDLE for idle priorities. +field may be +.Dv RTP_PRIO_REALTIME +for realtime priorities, +.Dv RTP_PRIO_NORMAL +for normal priorities, and +.Dv RTP_PRIO_IDLE +for idle priorities. The priority specified by the .Nm prio field ranges between 0 and .Dv RTP_PRIO_MAX (usually 31) . 0 is the highest possible priority. .Pp -Realtime and idle priority is inherited through fork() and exec(). +Realtime and idle priority is inherited through +.Fn fork +and +.Fn exec . .Pp 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 -- 2.41.0