4 wctrans_t wctrans(const char *class)
6 if (!strcmp(class, "toupper")) return 1;
7 if (!strcmp(class, "tolower")) return 2;
11 wint_t towctrans(wint_t wc, wctrans_t trans)
13 if (trans == 1) return towupper(wc);
14 if (trans == 2) return towlower(wc);