Posted Mar 5, 2012 23:45 UTC (Mon) by landley (guest, #6789)
Parent article: A sys_poll() ABI tweak
No, int and long _aren't_ the same size on "most" architectures. They're the same size on 32 bit architectures, different on 64 bit. There's a standard for this, which Linux follows (and MacOS X, and most other unix variants):
Posted Mar 6, 2012 7:03 UTC (Tue) by khim (subscriber, #9252)
[Link]
No, int and long _aren't_ the same size on "most" architectures.
Of course they are!
They're the same size on 32 bit architectures, different on 64 bit.
Not always and anyway: number of 32 bit architectures dwarfs the number of 64 bit architectures, so what's your point?
A sys_poll() ABI tweak
Posted Mar 7, 2012 10:39 UTC (Wed) by sdalley (subscriber, #18550)
[Link]
The quality of posts does vary, doesn't it.
After reading landley's GP, and the references he supplied, I understand the subtleties of the actual situation.
After reading khim's post, I am left completely uninformed, and with the strong impression that the poster is an arrogant twerp. It's only an impression, though, and I could be wrong ...