aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/rtprio.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/rtprio.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
downloadsrc-2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3.tar.gz
src-2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3.zip
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.
Notes
Notes: svn path=/head/; revision=108028
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 47e0af8b0f25..a9354049c4e9 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