#include <locale.h> struct lconv *localeconv(void);
The "localeconv" function returns a pointer to an "lconv" structure describing the numeric and monetary formatting conventions currently active. Numeric conventions are set with the "setlocale" function and the LC_NUMERIC class argument. Monetary conventions are set with the "setlocale" function and the LC_MONETARY class argument.
User code may not change the contents of the "lconv" structure pointed to by the pointer returned by "localeconv". Calls to "setlocale" with the LC_NUMERIC, LC_MONETARY or LC_ALL class may overwrite the contents of this "lconv" structure. Calls to "localeconv" may also overwrite the contents of this structure.
expl nsc lib setlocale
Copyright © 1996, Thinkage Ltd.