Thread (24 messages) 24 messages, 8 authors, 2010-06-07

Re: [PATCH v2 1/5] ARM: SAMSUNG: Add keypad device support

From: Mark Brown <hidden>
Date: 2010-05-31 09:44:09
Also in: linux-arm-kernel, linux-samsung-soc

On Sun, May 30, 2010 at 02:04:39PM +0900, Jassi Brar wrote:
I believe on most implementations, if not all, sizeof char, short and
int are resp
1, 2 and 4 bytes. whereas long denotes the native capacity of the arch.
This is very common for interoperability with code making the assumption
that you just made but you shouldn't rely on it, the C standard just
specifies minimum sizes and requires that char <= short <= int <= long.
The common issues to run into are int being made the native word size
and not having any sub word types at all.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help