Files
RedBear-OS/tests/wctype/towupper.c
T
Red Bear OS 1b3e94a20d Red Bear OS relibc baseline
From release 0.1.0 pre-patched archive.
This includes all Red Bear modifications previously maintained
as patches in local/patches/relibc/.
2026-06-27 09:19:26 +03:00

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;
}