8.121. I18N::LanginfoProvides locale-specific information for constants supported in langinfo.h. I18N::Langinfo implements just one function, langinfo.
langinfo(constant) Returns the locale-specific data associated with the specified constant. For example, the following prints the date and time in the format for the current locale: print langinfo(D_T_FMT); Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|