3 ms·
Oh I didn't realize its size varies on x86 and x64... I thought it's always 64-bit under compilers that target Linux! Today I learned...
by dataflow 5y ago
Oh I didn't realize its size varies on x86 and x64... I thought it's always 64-bit under compilers that target Linux! Today I learned...
- jamesfinlayson 5y agoI think the size can vary by compiler rather than just by architecture.
- dataflow 5y agoYeah it can but in practice systems have a canonical model in their official headers.
- tomsmeding 5y agoThere is a difference between 'long' and 'long long'. I believe the latter is always 64 bits on Linux.
- dataflow 5y agoI'm indeed aware of that one :-)