Print this page
5025 import and use mandoc
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/btowc.3c
          +++ new/usr/src/man/man3c/btowc.3c
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  \fBwint_t\fR \fBbtowc_l\fR(\fBint\fR \fIc\fR, \fBlocale_t\fR \fIloc\fR);
  29   29  .fi
  30   30  .SH DESCRIPTION
  31   31  .LP
  32   32  The \fBbtowc()\fR and \fBbtowc_l\fR()functions determines whether
  33   33  \fIc\fR constitutes a valid (one-byte) character in the initial shift
  34   34  state.
  35   35  .LP
  36   36  The behavior of \fBbtowc()\fR is affected by the \fBLC_CTYPE\fR category of the
  37   37  current locale.  See \fBenviron\fR(5). The function \fBbtowc_l()\fR does
  38      -not use the current locale, and instead operates on the locale 
       38 +not use the current locale, and instead operates on the locale
  39   39  specified by \fIloc\fR.
  40   40  .SH RETURN VALUES
  41   41  .LP
  42   42  The \fBbtowc()\fR function returns \fBWEOF\fR if \fIc\fR has the value
  43   43  \fBEOF\fR or if  \fB(unsigned char)\fR\fIc\fR does not constitute a valid
  44   44  (one-byte) character in the initial shift state.  Otherwise, it returns the
  45   45  wide-character representation of that character.
  46   46  .SH ERRORS
  47   47  .LP
  48   48  No errors are defined.
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX