int parse_locale(char *locale, char *lang, char *country, char *code_page);
+/*
+ * @unimplemented
+ */
char *setlocale(int category, const char *locale)
{
char lang[100];
char country[100];
char code_page[100];
- parse_locale((char *)locale,lang,country,code_page);
+ if (NULL != locale) {
+ parse_locale((char *)locale,lang,country,code_page);
+ }
//printf("%s %s %s %s\n",locale,lang,country,code_page);
127 // n_sign_posn;
};
+/*
+ * @implemented
+ */
struct lconv *localeconv(void)
{
return (struct lconv *) &_lconv;