LIBXO(3) | MidnightBSD Library Functions Manual | LIBXO(3) |
xo_no_setlocale
—
prevent implicit call to setlocale
Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)
#include
<libxo/xo.h>
void
xo_no_setlocale
(void);
libxo
automatically initializes the locale
based on the setting of the environment variables
LC_CTYPE
, LANG
, and
LC_ALL
. The first of this list of variables is used
and if none of the variables are set, the locale defaults to
UTF-8.
The caller may wish to avoid this behavior, and can do so by calling the
xo_no_setlocale
()
function.
xo_emit(3), xo_open_container(3), xo_open_list(3), xo_format(5), libxo(3)
The libxo
library first appeared in
FreeBSD 11.0.
libxo
was written by Phil
Shafer
<phil@freebsd.org>.
December 4, 2014 | midnightbsd-3.1 |