The getpwuid and getpwuid_r functions have variants named __32_ getpwuid, _getpwuid_r32 and __64_getpwuid, _getpwuid_r64 for use with 32-bit and 64-bit pointer sizes, respectively.