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,11 +63,10 @@
\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
:
@@ -145,19 +144,17 @@
.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
+The \fBpthread_getschedparam()\fR and \fBpthread_setschedparam()\fR functions
will fail if:
.sp
.ne 2
.na
\fB\fBESRCH\fR\fR
@@ -188,11 +185,10 @@
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
@@ -208,11 +204,10 @@
_
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),