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. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html