RPC on IA64
Hi.
Now I am porting some application from IA32 to IA64 and using RPC. Would you tell me whether support scalable data types as like intptr_t. The long type is 32-bit on IA32 and it is 64-bit on IA64,yes or no?
Thanks.
Qiu HongBing
Quoted 1 line · qiuhb
The long type is 32-bit on IA32 and it is 64-bit on IA64,yes or no?
Yes. Nowadays, long is the only standard C type whose size is likely to vary between platforms. int is 32-bit practically everywhere and long long is 64-bit everywhere. Note that the current situation *may* change in the future, so it's better to avoid relying on these sizes, if possible.
Dan