Document that rtprio(2) and rtprio_thread(2) can fail with EFAULT
due to the invoked copyout(9). Reviewed by: davidxu
This commit is contained in:
parent
134eb42e24
commit
b95b21c7ab
@ -145,13 +145,21 @@ Higher real/idle priority threads
|
|||||||
preempt lower real/idle priority threads.
|
preempt lower real/idle priority threads.
|
||||||
Threads of equal real/idle priority are run round-robin.
|
Threads of equal real/idle priority are run round-robin.
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
.Rv -std rtprio
|
.Rv -std rtprio rtprio_thread
|
||||||
.Sh ERRORS
|
.Sh ERRORS
|
||||||
The
|
The
|
||||||
.Fn rtprio
|
.Fn rtprio
|
||||||
system call
|
and
|
||||||
|
.Fn rtprio_thread
|
||||||
|
system calls
|
||||||
will fail if:
|
will fail if:
|
||||||
.Bl -tag -width Er
|
.Bl -tag -width Er
|
||||||
|
.It Bq Er EFAULT
|
||||||
|
The rtp pointer passed to
|
||||||
|
.Fn rtprio
|
||||||
|
or
|
||||||
|
.Fn rtprio_thread
|
||||||
|
was invalid.
|
||||||
.It Bq Er EINVAL
|
.It Bq Er EINVAL
|
||||||
The specified
|
The specified
|
||||||
.Fa prio
|
.Fa prio
|
||||||
|
Loading…
x
Reference in New Issue
Block a user