?login_element?

Subversion Repositories NedoOS

Rev

Rev 8 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*********************************************************************/
  2. /*                                                                   */
  3. /*             stdint.h standard header                              */
  4. /*                                                                   */
  5. /*                (c) 2010, Phyton                                   */
  6. /*********************************************************************/
  7.  
  8. #ifndef __STDINT_H
  9. #define __STDINT_H
  10.  
  11.  
  12.    typedef   signed          char int8_t;
  13.    typedef   signed short     int int16_t;
  14.    typedef   signed           int int32_t;
  15.  
  16.    typedef unsigned          char uint8_t;
  17.    typedef unsigned short     int uint16_t;
  18.    typedef unsigned           int uint32_t;
  19.  
  20.    typedef   signed          char int_least8_t;
  21.    typedef   signed short     int int_least16_t;
  22.    typedef   signed           int int_least32_t;
  23.  
  24.    typedef unsigned          char uint_least8_t;
  25.    typedef unsigned short     int uint_least16_t;
  26.    typedef unsigned           int uint_least32_t;
  27.  
  28.    typedef   signed           int int_fast8_t;
  29.    typedef   signed           int int_fast16_t;
  30.    typedef   signed           int int_fast32_t;
  31.  
  32.    typedef unsigned           int uint_fast8_t;
  33.    typedef unsigned           int uint_fast16_t;
  34.    typedef unsigned           int uint_fast32_t;
  35.  
  36.    typedef   signed           int intptr_t;
  37.    typedef unsigned           int uintptr_t;
  38.  
  39.    #define INT8_MIN           (-127-1)
  40.    #define INT16_MIN          (-32767-1)
  41.    #define INT32_MIN          (-2147483647-1)
  42.  
  43.    #define INT8_MAX           +127
  44.    #define INT16_MAX          +32767
  45.    #define INT32_MAX          +2147483647
  46.  
  47.    #define UINT8_MAX          255
  48.    #define UINT16_MAX         65535U
  49.    #define UINT32_MAX         4294967295U
  50.  
  51.    #define INT_LEAST8_MIN     (-127-1)          
  52.    #define INT_LEAST16_MIN    (-32767-1)        
  53.    #define INT_LEAST32_MIN    (-2147483647-1)    
  54.    
  55.    #define INT_LEAST8_MAX     +127                
  56.    #define INT_LEAST16_MAX    +32767              
  57.    #define INT_LEAST32_MAX    +2147483647          
  58.    
  59.    #define UINT_LEAST8_MAX    255          
  60.    #define UINT_LEAST16_MAX   65535U      
  61.    #define UINT_LEAST32_MAX   4294967295U
  62.  
  63.  
  64.    #define INT_FAST8_MIN      INT32_MIN
  65.    #define INT_FAST16_MIN     INT32_MIN
  66.    #define INT_FAST32_MIN     INT32_MIN
  67.    
  68.    #define INT_FAST8_MAX      INT32_MAX      
  69.    #define INT_FAST16_MAX     INT32_MAX      
  70.    #define INT_FAST32_MAX     INT32_MAX      
  71.    
  72.    #define UINT_FAST8_MAX     UINT32_MAX      
  73.    #define UINT_FAST16_MAX    UINT32_MAX      
  74.    #define UINT_FAST32_MAX    UINT32_MAX      
  75.    
  76.    #define INTPTR_MIN         INT32_MIN
  77.    #define INTPTR_MAX         INT32_MAX
  78.    #define UINTPTR_MAX        UINT32_MAX
  79.  
  80.    #define PTRDIFF_MIN        INT32_MIN
  81.    #define PTRDIFF_MAX        INT32_MAX
  82.    
  83.    #define SIG_ATOMIC_MIN     INT32_MIN
  84.    #define SIG_ATOMIC_MAX     INT32_MAX
  85.  
  86.    #define SIZE_MAX           UINT32_MAX
  87.  
  88.    #define WCHAR_MIN          0
  89.    #define WCHAR_MAX          UINT16_MAX
  90.  
  91.    #define WINT_MIN           INT32_MIN
  92.    #define WINT_MAX           INT32_MAX
  93.  
  94.    #define INT8_C(x)          (x)
  95.    #define INT16_C(x)         (x)
  96.    #define INT32_C(x)         (x)
  97.  
  98.    #define UINT8_C(x)         (x ## u)
  99.    #define UINT16_C(x)        (x ## u)
  100.    #define UINT32_C(x)        (x ## u)
  101.    
  102. #endif /* __STDINT_H */
  103.    
  104. /* end of stdint.h */
  105.    
  106.  
  107.