The mmap function has variants named _mmap32 and _mmap64 for use with 32-bit and 64-bit pointer sizes, respectively.