The fgetname function has variants named _fgetname32 and _ fgetname64 for use with 32-bit and 64-bit pointer sizes, respectively.