summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/rtprio.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/rtprio.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/rtprio.2')
-rw-r--r--lib/libc/sys/rtprio.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2
index 47e0af8..a935404 100644
--- a/lib/libc/sys/rtprio.2
+++ b/lib/libc/sys/rtprio.2
@@ -43,7 +43,9 @@
.Ft int
.Fn rtprio "int function" "pid_t pid" "struct rtprio *rtp"
.Sh DESCRIPTION
+The
.Fn rtprio
+system call
is used to lookup or change the realtime or idle priority of a process.
.Pp
.Fa function
@@ -64,11 +66,11 @@ struct rtprio {
.Ed
.Pp
The value of the
-.Nm type
+.Va type
field may be RTP_PRIO_REALTIME for realtime priorities,
RTP_PRIO_NORMAL for normal priorities, and RTP_PRIO_IDLE for idle priorities.
The priority specified by the
-.Nm prio
+.Va prio
field ranges between 0 and
.Dv RTP_PRIO_MAX (usually 31) .
0 is the highest possible priority.
@@ -84,7 +86,9 @@ Processes of equal real/idle priority are run round-robin.
.Sh RETURN VALUES
.Rv -std rtprio
.Sh ERRORS
+The
.Fn rtprio
+system call
will fail if
.Bl -tag -width Er
.It Bq Er EINVAL
OpenPOWER on IntegriCloud