diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
| commit | 2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch) | |
| tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/rtprio.2 | |
| parent | a1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/rtprio.2')
| -rw-r--r-- | lib/libc/sys/rtprio.2 | 8 |
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 |
