home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeJava and XSLTSearch this book

8.121. I18N::Langinfo

Provides locale-specific information for constants supported in langinfo.h. I18N::Langinfo implements just one function, langinfo.

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);


Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.