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/uselocale.3c
          +++ new/usr/src/man/man3c/uselocale.3c
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  .SH DESCRIPTION
  28   28  .LP
  29   29  The
  30   30  .B uselocale()
  31   31  function is used to obtain and set the current locale for a thread. When
  32   32  a thread is created, it uses the global locale as specified by calls to
  33   33  .BR setlocale() .
  34   34  .LP
  35   35  If
  36   36  .BR (locale_t) 0
  37      -is supplied for 
       37 +is supplied for
  38   38  .IR loc ,
  39   39  then no change is made to the thread's locale setting.  This can be used
  40   40  to query the thread's locale without making any change.
  41   41  .LP
  42   42  If
  43   43  .B LC_GLOBAL_LOCALE
  44   44  is supplied for
  45   45  .IR loc ,
  46   46  then the thread will use the global locale, undoing the effect of any
  47   47  prior call to establish a thread-specific locale.
↓ open down ↓ 48 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX