about summary refs log tree commit diff
path: root/locale/langinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'locale/langinfo.h')
-rw-r--r--locale/langinfo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h
index 494b14e413..c8ffa1db5e 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -559,6 +559,17 @@ enum
 extern char *nl_langinfo (nl_item __item) __THROW;
 
 
+#ifdef	__USE_GNU
+/* This interface is for the extended locale model.  See <locale.h> for
+   more information.  */
+
+/* Get locale datatype definition.  */
+# include <xlocale.h>
+
+/* Just like nl_langinfo but get the information from the locale object L.  */
+extern char *__nl_langinfo_l (nl_item __item, __locale_t l);
+#endif
+
 __END_DECLS
 
 #endif	/* langinfo.h */