The strtoimax function has variants named _strtoimax32 and _strtoimax64 for use with 32-bit and 64-bit pointer sizes, respectively.