--- /dev/null
+/* $NetBSD: locale.h,v 1.14 2005/02/03 04:39:32 perry Exp $ */\r
+\r
+/*\r
+ * Copyright (c) 1991, 1993\r
+ * The Regents of the University of California. All rights reserved.\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ * 1. Redistributions of source code must retain the above copyright\r
+ * notice, this list of conditions and the following disclaimer.\r
+ * 2. Redistributions in binary form must reproduce the above copyright\r
+ * notice, this list of conditions and the following disclaimer in the\r
+ * documentation and/or other materials provided with the distribution.\r
+ * 3. Neither the name of the University nor the names of its contributors\r
+ * may be used to endorse or promote products derived from this software\r
+ * without specific prior written permission.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
+ * SUCH DAMAGE.\r
+ *\r
+ * @(#)locale.h 8.1 (Berkeley) 6/2/93\r
+ */\r
+\r
+#ifndef _LOCALE_H_\r
+#define _LOCALE_H_\r
+\r
+struct lconv {\r
+ char *decimal_point;\r
+ char *thousands_sep;\r
+ char *grouping;\r
+ char *int_curr_symbol;\r
+ char *currency_symbol;\r
+ char *mon_decimal_point;\r
+ char *mon_thousands_sep;\r
+ char *mon_grouping;\r
+ char *positive_sign;\r
+ char *negative_sign;\r
+ char int_frac_digits;\r
+ char frac_digits;\r
+ char p_cs_precedes;\r
+ char p_sep_by_space;\r
+ char n_cs_precedes;\r
+ char n_sep_by_space;\r
+ char p_sign_posn;\r
+ char n_sign_posn;\r
+ char int_p_cs_precedes;\r
+ char int_n_cs_precedes;\r
+ char int_p_sep_by_space;\r
+ char int_n_sep_by_space;\r
+ char int_p_sign_posn;\r
+ char int_n_sign_posn;\r
+};\r
+\r
+#define LC_ALL 0\r
+#define LC_COLLATE 1\r
+#define LC_CTYPE 2\r
+#define LC_MONETARY 3\r
+#define LC_NUMERIC 4\r
+#define LC_TIME 5\r
+#define LC_MESSAGES 6\r
+\r
+#define _LC_LAST 7 /* marks end */\r
+\r
+#include <sys/EfiCdefs.h>\r
+\r
+__BEGIN_DECLS\r
+struct lconv *localeconv(void);\r
+ char *__setlocale_mb_len_max_32(int, const char *);\r
+#ifdef __SETLOCALE_SOURCE__\r
+ char *setlocale(int, const char *);\r
+ char *__setlocale(int, const char *);\r
+#else /* !__SETLOCALE_SOURCE__ */\r
+ char *setlocale(int, const char *) __RENAME(__setlocale_mb_len_max_32);\r
+#endif /* !__SETLOCALE_SOURCE__ */\r
+__END_DECLS\r
+\r
+#endif /* _LOCALE_H_ */\r