benilla-re systems structs docs

_atoi

function · crt · orchestration

Address
0x41449c · 11 bytes, up to 0x4144a6
Signature
int32_t __cdecl (const char *string)
Meaning
Returns _atol of the string
Confidence
verified, proof one
Name from
the community database (idb)
Finding
net/dial#integer-from-text
Test
net::crt_atol

Finding: Integer from text in net: dial

_atol (0x414411) skips white space, which in the C locale is a tab to a carriage return and a space; reads one - or +; and then reads decimal digits, wrapping modulo 2^32, until the first byte that is not one. A - negates last. A text with no digit gives 0. The client never changes the locale, so the other form, __isctype for a locale whose characters take more than one byte, does not run.

The derivation is in the doc.

Callers 3

Callees 1

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