Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>
*** 63,73 ****
\fBint\fR \fBpthread_setschedparam\fR(\fBpthread_t\fR \fIthread\fR, \fBint\fR \fIpolicy\fR,
\fBconst struct sched_param *\fR\fIparam\fR);
.fi
.SH DESCRIPTION
- .sp
.LP
The \fBpthread_getschedparam()\fR and \fBpthread_setschedparam()\fR functions
allow the scheduling policy and scheduling parameters of individual threads
within a multithreaded process to be retrieved and set. Supported policies are
:
--- 63,72 ----
*** 145,163 ****
.sp
.LP
If the \fBpthread_setschedparam()\fR function fails, no scheduling parameters
will be changed for the target thread.
.SH RETURN VALUES
- .sp
.LP
If successful, the \fBpthread_getschedparam()\fR and
\fBpthread_setschedparam()\fR functions return \fB0\fR. Otherwise, an error
number is returned to indicate the error.
.SH ERRORS
- .sp
.LP
! The \fBpthread_getschedparam()\fR and \fBpthread_gsetschedparam()\fR functions
will fail if:
.sp
.ne 2
.na
\fB\fBESRCH\fR\fR
--- 144,160 ----
.sp
.LP
If the \fBpthread_setschedparam()\fR function fails, no scheduling parameters
will be changed for the target thread.
.SH RETURN VALUES
.LP
If successful, the \fBpthread_getschedparam()\fR and
\fBpthread_setschedparam()\fR functions return \fB0\fR. Otherwise, an error
number is returned to indicate the error.
.SH ERRORS
.LP
! The \fBpthread_getschedparam()\fR and \fBpthread_setschedparam()\fR functions
will fail if:
.sp
.ne 2
.na
\fB\fBESRCH\fR\fR
*** 188,198 ****
The caller does not have the appropriate permission to set either the
scheduling parameters or the scheduling policy of the specified thread.
.RE
.SH ATTRIBUTES
- .sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
--- 185,194 ----
*** 208,218 ****
_
Standard See \fBstandards\fR(5).
.TE
.SH SEE ALSO
- .sp
.LP
\fBpthread_attr_init\fR(3C), \fBsched_getparam\fR(3C),
\fBsched_get_priority_max\fR(3C), \fBsched_get_priority_max\fR(3C),
\fBsched_get_priority_min\fR(3C), \fBsched_setparam\fR(3C),
\fBsched_getscheduler\fR(3C), \fBsched_setscheduler\fR(3C),
--- 204,213 ----