The gets function has variants named _gets32 and _gets64 for use with 32-bit and 64-bit pointer sizes, respectively.