]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libxo/libxo/xo_no_setlocale.3
MFV ntp 4.2.8p2 (r281348)
[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 December 4, 2014
11 .Dt LIBXO 3
12 .Os
13 .Sh NAME
14 .Nm xo_no_setlocale
15 .Nd prevent implicit call to
16 .Fn setlocale
17 .Sh LIBRARY
18 .Lb libxo
19 .Sh SYNOPSIS
20 .In libxo/xo.h
21 .Ft void
22 .Fn xo_no_setlocale "void"
23 .Sh DESCRIPTION
24 .Nm libxo
25 automatically initializes the locale based on the setting of the
26 environment variables
27 .Ev LC_CTYPE ,
28 .Ev LANG ,
29 and
30 .Ev LC_ALL .
31 The first of this
32 list of variables is used and if none of the variables are set, the locale
33 defaults to
34 .Em UTF-8 .
35 The caller may wish to avoid this behavior, and
36 can do so by calling the
37 .Fn xo_no_setlocale
38 function.
39 .Sh ADDITIONAL DOCUMENTATION
40 Complete documentation can be found on github:
41 .Bd -literal -offset indent
42 http://juniper.github.io/libxo/libxo-manual.html
43 .Ed
44 .Pp
45 .Nm libxo
46 lives on github as:
47 .Bd -literal -offset indent
48 https://github.com/Juniper/libxo
49 .Ed
50 .Pp
51 The latest release of
52 .Nm libxo
53 is available at:
54 .Bd -literal -offset indent
55 https://github.com/Juniper/libxo/releases
56 .Ed
57 .Sh SEE ALSO
58 .Xr xo_emit 3 ,
59 .Xr xo_open_container 3 ,
60 .Xr xo_open_list 3 ,
61 .Xr xo_format 5
62 .Sh HISTORY
63 The
64 .Nm libxo
65 library was added in
66 .Fx 11.0 .
67 .Sh AUTHOR
68 Phil Shafer