This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: <linux/types.h> or <asm/types.h> ?


On 9/29/07, Mike Frysinger <vapier@gentoo.org> wrote:
> On Saturday 29 September 2007, Metuki Sabhe wrote:
> > I need to use types like __u8 in my Linux application
> > (which should work on many architectures).
> >
> > Should I use <linux/types.h> or <asm/types.h> ?
> >
> a proper application should never use types like __u8 which means they should
> never pull in linux/types.h or asm/types.h
>
> there's a reason *standard* types like uint8_t exist

Thank you for this. Can you please tell me which header file declare
these uint8_t types ?

Metuki

> -mike
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]