Name

localeconv function — Retrieves numeric-formatting information

Synopsis

lconv* localeconv(  );

The localeconv function returns a pointer to the current locale’s lconv object.

Warning

Do not modify the lconv object. A call to localeconv might overwrite the contents of the object returned from an earlier call (or simultaneous call in a multithreaded program). Calls to setlocale for LC_ALL, LC_NUMERIC, or LC_MONETARY categories might also overwrite the contents of the lconv object.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.