The readv function has variants named _readv32 and _readv64 for use with 32-bit and 64-bit pointer sizes, respectively.