]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libxo/libxo/xo_no_setlocale.3
Update to mandoc cvs version as of 20141201
[FreeBSD/FreeBSD.git] / contrib / libxo / libxo / xo_no_setlocale.3
1 .\" #
2 .\" # Copyright (c) 2014, Juniper Networks, Inc.
3 .\" # All rights reserved.
4 .\" # This SOFTWARE is licensed under the LICENSE provided in the
5 .\" # ../Copyright file. By downloading, installing, copying, or 
6 .\" # using the SOFTWARE, you agree to be bound by the terms of that
7 .\" # LICENSE.
8 .\" # Phil Shafer, July 2014
9 .\" 
10 .Dd July, 2014
11 .Dt LIBXO 3
12 .Os
13 .Sh NAME
14 .Nm xo_no_setlocale
15 .Nd prevent implicit call to setlocale()
16 .Sh LIBRARY
17 .Lb libxo
18 .Sh SYNOPSIS
19 .In libxo/xo.h
20 .Ft void
21 .Fn xo_no_setlocale "void"
22 .Sh DESCRIPTION
23 .Em libxo
24 automatically initializes the locale based on setting of the
25 environment variables
26 .Em LC_CTYPE ,
27 .Em LANG ,
28 and
29 .Em LC_ALL .
30 The first of this
31 list of variables is used and if none of the variables, the locale
32 defaults to
33 .Em UTF-8.  The caller may wish to avoid this behavior, and
34 can do so by calling the
35 .Fn xo_no_setlocale
36 function.
37 .Sh ADDITIONAL DOCUMENTATION
38 .Pp
39 Complete documentation can be found on github:
40 .Bd -literal -offset indent
41 http://juniper.github.io/libxo/libxo-manual.html
42 .Ed
43 .Pp
44 libxo lives on github as:
45 .Bd -literal -offset indent
46 https://github.com/Juniper/libxo
47 .Ed
48 .Pp
49 The latest release of libxo is available at:
50 .Bd -literal -offset indent
51 https://github.com/Juniper/libxo/releases
52 .Ed
53 .Sh SEE ALSO
54 .Xr xo_emit 3 ,
55 .Xr xo_open_container 3 ,
56 .Xr xo_open_list 3 , and
57 .Xr xo_format 5 .
58 .Sh HISTORY
59 The
60 .Fa libxo
61 library was added in FreeBSD 11.0.
62 .Sh AUTHOR
63 Phil Shafer