diff options
Diffstat (limited to 'man2/sched_setparam.2')
-rw-r--r-- | man2/sched_setparam.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man2/sched_setparam.2 b/man2/sched_setparam.2 index adda4b09..7b6af53d 100644 --- a/man2/sched_setparam.2 +++ b/man2/sched_setparam.2 @@ -48,7 +48,7 @@ sched_setparam, sched_getparam \- set and get scheduling parameters .ta .fi .SH DESCRIPTION -.B sched_setparam +.BR sched_setparam () sets the scheduling parameters associated with the scheduling policy for the process identified by \fIpid\fR. If \fIpid\fR is zero, then the parameters of the current process are set. The interpretation of @@ -59,12 +59,12 @@ following three scheduling policies are supported under Linux: and .IR SCHED_OTHER . -.B sched_getparam +.BR sched_getparam () retrieves the scheduling parameters for the process identified by \fIpid\fR. If \fIpid\fR is zero, then the parameters of the current process are retrieved. -.B sched_setparam +.BR sched_setparam () checks the validity of \fIp\fR for the scheduling policy of the process. The parameter \fIp->sched_priority\fR must lie within the range given by \fBsched_get_priority_min\fR and @@ -75,18 +75,18 @@ scheduling priority and policy, see .BR sched_setscheduler (2). POSIX systems on which -.B sched_setparam +.BR sched_setparam () and -.B sched_getparam +.BR sched_getparam () are available define .I _POSIX_PRIORITY_SCHEDULING in <unistd.h>. .SH "RETURN VALUE" On success, -.BR sched_setparam +.BR sched_setparam () and -.BR sched_getparam +.BR sched_getparam () return 0. On error, \-1 is returned, .I errno |