root/include/asm-i386/types.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _I386_TYPES_H
   2 #define _I386_TYPES_H
   3 
   4 #ifndef _SIZE_T
   5 #define _SIZE_T
   6 typedef unsigned int size_t;
   7 #endif
   8 
   9 #ifndef _SSIZE_T
  10 #define _SSIZE_T
  11 typedef int ssize_t;
  12 #endif
  13 
  14 #ifndef _PTRDIFF_T
  15 #define _PTRDIFF_T
  16 typedef int ptrdiff_t;
  17 #endif
  18 
  19 /*
  20  * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  21  * header files exported to user space
  22  */
  23 
  24 typedef __signed__ char __s8;
  25 typedef unsigned char __u8;
  26 
  27 typedef __signed__ short __s16;
  28 typedef unsigned short __u16;
  29 
  30 typedef __signed__ long __s32;
  31 typedef unsigned long __u32;
  32 
  33 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
  34 typedef __signed__ long long __s64;
  35 typedef unsigned long long __u64;
  36 #endif
  37 
  38 /*
  39  * These aren't exported outside the kernel to avoid name space clashes
  40  */
  41 #ifdef __KERNEL__
  42 
  43 typedef signed char s8;
  44 typedef unsigned char u8;
  45 
  46 typedef signed short s16;
  47 typedef unsigned short u16;
  48 
  49 typedef signed long s32;
  50 typedef unsigned long u32;
  51 
  52 typedef signed long long s64;
  53 typedef unsigned long long u64;
  54 
  55 #endif /* __KERNEL__ */
  56 
  57 #endif

/* [previous][next][first][last][top][bottom][index][help] */