Print this page
9842 man page typos and spelling

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man2/pset_bind.2
          +++ new/usr/src/man/man2/pset_bind.2
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  pset_bind \- bind LWPs to a set of processors
   9    9  .SH SYNOPSIS
  10   10  .LP
  11   11  .nf
  12   12  #include <sys/pset.h>
  13   13  
  14   14  \fBint\fR \fBpset_bind\fR(\fBpsetid_t\fR \fIpset\fR, \fBidtype_t\fR \fIidtype\fR, \fBid_t\fR \fIid\fR, \fBpsetid_t *\fR\fIopset\fR);
  15   15  .fi
  16   16  
  17   17  .SH DESCRIPTION
  18      -.sp
  19   18  .LP
  20   19  The \fBpset_bind()\fR function binds the \fBLWP\fR or set of \fBLWPs\fR
  21   20  specified by \fIidtype\fR and \fIid\fR to the processor set specified by
  22   21  \fIpset\fR. If \fIopset\fR is not \fINULL\fR, \fBpset_bind()\fR sets the
  23   22  \fBpsetid_t\fR variable pointed to by \fIopset\fR to the previous processor set
  24   23  binding of one of the specified \fBLWP\fR, or to \fBPS_NONE\fR if the selected
  25   24  \fBLWP\fR was not bound.
  26   25  .sp
  27   26  .LP
  28   27  If \fIidtype\fR is \fBP_PID\fR, the binding affects all \fBLWP\fRs of the
↓ open down ↓ 41 lines elided ↑ open up ↑
  70   69  .sp
  71   70  .LP
  72   71  LWPs that have been bound to a processor with \fBprocessor_bind\fR(2) may also
  73   72  be bound to a processor set if the processor is part of the processor set. If
  74   73  this occurs, the binding to the processor remains in effect. If the processor
  75   74  binding is later removed, the processor set binding becomes effective.
  76   75  .sp
  77   76  .LP
  78   77  Processor set bindings are inherited across \fBfork\fR(2) and \fBexec\fR(2).
  79   78  .SH RETURN VALUES
  80      -.sp
  81   79  .LP
  82   80  Upon successful completion, 0 is returned. Otherwise, \(mi1 is returned and
  83   81  \fBerrno\fR is set to indicate the error.
  84   82  .SH ERRORS
  85      -.sp
  86   83  .LP
  87   84  The \fBpset_bind()\fR function will fail if:
  88   85  .sp
  89   86  .ne 2
  90   87  .na
  91   88  \fB\fBEBUSY\fR\fR
  92   89  .ad
  93   90  .RS 11n
  94   91  One of the \fBLWP\fRs is bound to a processor, and the specified processor set
  95   92  does not include that processor.
↓ open down ↓ 33 lines elided ↑ open up ↑
 129  126  .sp
 130  127  Binding a system process to a processor set is not supported.
 131  128  .RE
 132  129  
 133  130  .sp
 134  131  .ne 2
 135  132  .na
 136  133  \fB\fBEPERM\fR\fR
 137  134  .ad
 138  135  .RS 11n
 139      -The {\fBPRIV_PROC_OWNER\fR} is not asserted in the effecive set of the calling
      136 +The {\fBPRIV_PROC_OWNER\fR} is not asserted in the effective set of the calling
 140  137  process and either the real or effective user ID of the calling process does
 141  138  not match the real or effective user \fBID\fR of one of the LWPs being bound,
 142  139  or the processor set from which one or more of the LWPs are being unbound has
 143  140  the \fBPSET_NOESCAPE\fR attribute set and {\fBPRIV_SYS_RES_CONFIG\fR) is not
 144  141  asserted in the effective set of the calling process. See \fBpset_setattr\fR(2)
 145  142  for more information about processor set attributes.
 146  143  .RE
 147  144  
 148  145  .sp
 149  146  .ne 2
 150  147  .na
 151  148  \fB\fBESRCH\fR\fR
 152  149  .ad
 153  150  .RS 11n
 154  151  No processes, \fBLWP\fRs, or tasks were found to match the criteria specified
 155  152  by \fIidtype\fR and \fIid\fR.
 156  153  .RE
 157  154  
 158  155  .SH ATTRIBUTES
 159      -.sp
 160  156  .LP
 161  157  See \fBattributes\fR(5) for descriptions of the following attributes:
 162  158  .sp
 163  159  
 164  160  .sp
 165  161  .TS
 166  162  box;
 167  163  c | c
 168  164  l | l .
 169  165  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 170  166  _
 171  167  Interface Stability     Committed
 172  168  _
 173  169  MT-Level        Async-Signal-Safe
 174  170  .TE
 175  171  
 176  172  .SH SEE ALSO
 177      -.sp
 178  173  .LP
 179  174  \fBpbind\fR(1M), \fBpooladm\fR(1M), \fBpoolbind\fR(1M), \fBpsrset\fR(1M),
 180  175  \fBexec\fR(2), \fBfork\fR(2), \fBprocessor_bind\fR(2), \fBpset_create\fR(2),
 181  176  \fBpset_info\fR(2), \fBpset_setattr\fR(2), \fBpool_set_binding\fR(3POOL),
 182  177  \fBpool_set_status\fR(3POOL), \fBpset_getloadavg\fR(3C), \fBprocess\fR(4),
 183  178  \fBproject\fR(4), \fBattributes\fR(5), \fBprivileges\fR(5)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX