Messages in this thread | | | Date | Sat, 31 Dec 2005 11:55:06 +0200 | From | Pekka Enberg <> | Subject | Re: Integer types |
| |
On 12/31/05, Jeff Sipek <jeffpc@optonline.net> wrote: > What's the prefered integer type for kernel code? > > * u8, u16, ... > * uint8_t, uint16_t, ... > * u_int8_t, t_int16_t, ...
From the above list, the first ones. See http://article.gmane.org/gmane.linux.kernel/259313. Please note that there's also __le32 and __be32 for variables that have fixed byte ordering.
Pekka - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |