1b3e94a20d
From release 0.1.0 pre-patched archive. This includes all Red Bear modifications previously maintained as patches in local/patches/relibc/.
14 lines
291 B
C
14 lines
291 B
C
#include <stdio.h>
|
|
#include <stddef.h>
|
|
#include <wchar.h>
|
|
#include <wctype.h>
|
|
|
|
int main() {
|
|
wchar_t *str = L"HaLf WiDe ChAr StRiNg!\n";
|
|
fputws(str, stdout);
|
|
for (size_t i = 0; i < wcslen(str); i++) {
|
|
putwchar(towctrans(str[i], wctrans("toupper")));
|
|
}
|
|
return 0;
|
|
}
|