benilla-re systems structs docs

_toupper

function · crt · primitive

Address
0x41089b · 111 bytes, up to 0x410909
Signature
int32_t __cdecl (int32_t c)
Meaning
Subtracts 0x20 from a to z while the locale word 0x883b08 is 0, every other value unchanged
Confidence
verified, proof one
Name from
the community database (idb)
Finding
crt/ctype#upper-case
Test
crt::crt_toupper_difftest

Finding: Upper case in crt: characters

toupper(c) answers c − 0x20 for a to z and c for every other int, while the locale word is 0. With it set it would take the locale lock and call 0x41090a, which is not read here.

The derivation is in the doc.

Callers 13

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.