DragonFly On-Line Manual Pages

Search: Section:  


LIBXO(3)              DragonFly Library Functions Manual              LIBXO(3)

NAME

xo_no_setlocale - prevent implicit call to setlocale()

LIBRARY

Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)

SYNOPSIS

#include <libxo/xo.h> void xo_no_setlocale(void);

DESCRIPTION

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.

ADDITIONAL DOCUMENTATION

Complete documentation can be found on github: http://juniper.github.io/libxo/libxo-manual.html libxo lives on github as: https://github.com/Juniper/libxo The latest release of libxo is available at: https://github.com/Juniper/libxo/releases

SEE ALSO

xo_emit(3), xo_open_container(3), xo_open_list(3), xo_format(5)

HISTORY

The libxo library was added in FreeBSD 11.0.

AUTHOR

Phil Shafer DragonFly 6.5-DEVELOPMENT December 4, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: