]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libxo/libxo/xo_no_setlocale.3
Copy libevent sources to contrib
[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 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 .Nm libxo
24 automatically initializes the locale based on the setting of the
25 environment variables
26 .Ev LC_CTYPE ,
27 .Ev LANG ,
28 and
29 .Ev LC_ALL .
30 The first of this
31 list of variables is used and if none of the variables are set, the locale
32 defaults to
33 .Em UTF-8 .
34 The caller may wish to avoid this behavior, and
35 can do so by calling the
36 .Fn xo_no_setlocale
37 function.
38 .Sh SEE ALSO
39 .Xr xo_emit 3 ,
40 .Xr xo_open_container 3 ,
41 .Xr xo_open_list 3 ,
42 .Xr xo_format 5 ,
43 .Xr libxo 3
44 .Sh HISTORY
45 The
46 .Nm libxo
47 library first appeared in
48 .Fx 11.0 .
49 .Sh AUTHORS
50 .Nm libxo
51 was written by
52 .An Phil Shafer Aq Mt phil@freebsd.org .
53