1LIBXO(3) BSD Library Functions Manual LIBXO(3)
2
4 xo_no_setlocale — prevent implicit call to setlocale
5
7 library “libxo”
8
10 #include <libxo/xo.h>
11
12 void
13 xo_no_setlocale(void);
14
16 libxo automatically initializes the locale based on the setting of the
17 environment variables LC_CTYPE, LANG, and LC_ALL. The first of this list
18 of variables is used and if none of the variables are set, the locale de‐
19 faults to UTF-8. The caller may wish to avoid this behavior, and can do
20 so by calling the xo_no_setlocale() function.
21
23 xo_emit(3), xo_open_container(3), xo_open_list(3), xo_format(5), libxo(3)
24
26 The libxo library first appeared in FreeBSD 11.0.
27
29 libxo was written by Phil Shafer <phil@freebsd.org>.
30
31
33 FreeBSD uses libxo version 1.6.0. Complete documentation can be found on
34 github:
35
36 https://juniper.github.io/libxo/1.6.0/html/index.html
37
38 libxo lives on github as:
39
40 https://github.com/Juniper/libxo
41
42 The latest release of libxo is available at:
43
44 https://github.com/Juniper/libxo/releases
45
47 The libxo library was added in FreeBSD 11.0.
48
50 Phil Shafer
51
52BSD December 4, 2014 BSD