[BACK]Return to inttypes.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/inttypes.h between version 1.8 and 1.9

version 1.8, 2006/01/15 00:46:07 version 1.9, 2006/01/15 00:47:51
Line 39 
Line 39 
  */   */
   
 /* fprintf macros for signed integers */  /* fprintf macros for signed integers */
 #define PRId8                   "d"  #define PRId8                   "d"             /* int8_t */
 #define PRId16                  "d"  #define PRId16                  "d"             /* int16_t */
 #define PRId32                  "d"  #define PRId32                  "d"             /* int32_t */
 #define PRId64                  "lld"  #define PRId64                  "lld"           /* int64_t */
   
 #define PRIdLEAST8              "d"  #define PRIdLEAST8              "d"             /* int_least8_t */
 #define PRIdLEAST16             "d"  #define PRIdLEAST16             "d"             /* int_least16_t */
 #define PRIdLEAST32             "d"  #define PRIdLEAST32             "d"             /* int_least32_t */
 #define PRIdLEAST64             "lld"  #define PRIdLEAST64             "lld"           /* int_least64_t */
   
 #define PRIdFAST8               "d"  #define PRIdFAST8               "d"             /* int_fast8_t */
 #define PRIdFAST16              "d"  #define PRIdFAST16              "d"             /* int_fast16_t */
 #define PRIdFAST32              "d"  #define PRIdFAST32              "d"             /* int_fast32_t */
 #define PRIdFAST64              "lld"  #define PRIdFAST64              "lld"           /* int_fast64_t */
   
 #define PRIdMAX                 "jd"  #define PRIdMAX                 "jd"            /* intmax_t */
 #define PRIdPTR                 "ld"  #define PRIdPTR                 "ld"            /* intptr_t */
   
 #define PRIi8                   "i"  #define PRIi8                   "i"             /* int8_t */
 #define PRIi16                  "i"  #define PRIi16                  "i"             /* int16_t */
 #define PRIi32                  "i"  #define PRIi32                  "i"             /* int32_t */
 #define PRIi64                  "lli"  #define PRIi64                  "lli"           /* int64_t */
   
 #define PRIiLEAST8              "i"  #define PRIiLEAST8              "i"             /* int_least8_t */
 #define PRIiLEAST16             "i"  #define PRIiLEAST16             "i"             /* int_least16_t */
 #define PRIiLEAST32             "i"  #define PRIiLEAST32             "i"             /* int_least32_t */
 #define PRIiLEAST64             "lli"  #define PRIiLEAST64             "lli"           /* int_least64_t */
   
 #define PRIiFAST8               "i"  #define PRIiFAST8               "i"             /* int_fast8_t */
 #define PRIiFAST16              "i"  #define PRIiFAST16              "i"             /* int_fast16_t */
 #define PRIiFAST32              "i"  #define PRIiFAST32              "i"             /* int_fast32_t */
 #define PRIiFAST64              "lli"  #define PRIiFAST64              "lli"           /* int_fast64_t */
   
 #define PRIiMAX                 "ji"  #define PRIiMAX                 "ji"            /* intmax_t */
 #define PRIiPTR                 "li"  #define PRIiPTR                 "li"            /* intptr_t */
   
 /* fprintf macros for unsigned integers */  /* fprintf macros for unsigned integers */
 #define PRIo8                   "o"  #define PRIo8                   "o"             /* int8_t */
 #define PRIo16                  "o"  #define PRIo16                  "o"             /* int16_t */
 #define PRIo32                  "o"  #define PRIo32                  "o"             /* int32_t */
 #define PRIo64                  "llo"  #define PRIo64                  "llo"           /* int64_t */
   
 #define PRIoLEAST8              "o"  #define PRIoLEAST8              "o"             /* int_least8_t */
 #define PRIoLEAST16             "o"  #define PRIoLEAST16             "o"             /* int_least16_t */
 #define PRIoLEAST32             "o"  #define PRIoLEAST32             "o"             /* int_least32_t */
 #define PRIoLEAST64             "llo"  #define PRIoLEAST64             "llo"           /* int_least64_t */
   
 #define PRIoFAST8               "o"  #define PRIoFAST8               "o"             /* int_fast8_t */
 #define PRIoFAST16              "o"  #define PRIoFAST16              "o"             /* int_fast16_t */
 #define PRIoFAST32              "o"  #define PRIoFAST32              "o"             /* int_fast32_t */
 #define PRIoFAST64              "llo"  #define PRIoFAST64              "llo"           /* int_fast64_t */
   
 #define PRIoMAX                 "jo"  #define PRIoMAX                 "jo"            /* intmax_t */
 #define PRIoPTR                 "lo"  #define PRIoPTR                 "lo"            /* intptr_t */
   
 #define PRIu8                   "u"  #define PRIu8                   "u"             /* uint8_t */
 #define PRIu16                  "u"  #define PRIu16                  "u"             /* uint16_t */
 #define PRIu32                  "u"  #define PRIu32                  "u"             /* uint32_t */
 #define PRIu64                  "llu"  #define PRIu64                  "llu"           /* uint64_t */
   
 #define PRIuLEAST8              "u"  #define PRIuLEAST8              "u"             /* uint_least8_t */
 #define PRIuLEAST16             "u"  #define PRIuLEAST16             "u"             /* uint_least16_t */
 #define PRIuLEAST32             "u"  #define PRIuLEAST32             "u"             /* uint_least32_t */
 #define PRIuLEAST64             "llu"  #define PRIuLEAST64             "llu"           /* uint_least64_t */
   
 #define PRIuFAST8               "u"  #define PRIuFAST8               "u"             /* uint_fast8_t */
 #define PRIuFAST16              "u"  #define PRIuFAST16              "u"             /* uint_fast16_t */
 #define PRIuFAST32              "u"  #define PRIuFAST32              "u"             /* uint_fast32_t */
 #define PRIuFAST64              "llu"  #define PRIuFAST64              "llu"           /* uint_fast64_t */
   
 #define PRIuMAX                 "ju"  #define PRIuMAX                 "ju"            /* uintmax_t */
 #define PRIuPTR                 "lu"  #define PRIuPTR                 "lu"            /* uintptr_t */
   
 #define PRIx8                   "x"  #define PRIx8                   "x"             /* uint8_t */
 #define PRIx16                  "x"  #define PRIx16                  "x"             /* uint16_t */
 #define PRIx32                  "x"  #define PRIx32                  "x"             /* uint32_t */
 #define PRIx64                  "llx"  #define PRIx64                  "llx"           /* uint64_t */
   
 #define PRIxLEAST8              "x"  #define PRIxLEAST8              "x"             /* uint_least8_t */
 #define PRIxLEAST16             "x"  #define PRIxLEAST16             "x"             /* uint_least16_t */
 #define PRIxLEAST32             "x"  #define PRIxLEAST32             "x"             /* uint_least32_t */
 #define PRIxLEAST64             "llx"  #define PRIxLEAST64             "llx"           /* uint_least64_t */
   
 #define PRIxFAST8               "x"  #define PRIxFAST8               "x"             /* uint_fast8_t */
 #define PRIxFAST16              "x"  #define PRIxFAST16              "x"             /* uint_fast16_t */
 #define PRIxFAST32              "x"  #define PRIxFAST32              "x"             /* uint_fast32_t */
 #define PRIxFAST64              "llx"  #define PRIxFAST64              "llx"           /* uint_fast64_t */
   
 #define PRIxMAX                 "jx"  #define PRIxMAX                 "jx"            /* uintmax_t */
 #define PRIxPTR                 "lx"  #define PRIxPTR                 "lx"            /* uintptr_t */
   
 #define PRIX8                   "X"  #define PRIX8                   "X"             /* uint8_t */
 #define PRIX16                  "X"  #define PRIX16                  "X"             /* uint16_t */
 #define PRIX32                  "X"  #define PRIX32                  "X"             /* uint32_t */
 #define PRIX64                  "llX"  #define PRIX64                  "llX"           /* uint64_t */
   
 #define PRIXLEAST8              "X"  #define PRIXLEAST8              "X"             /* uint_least8_t */
 #define PRIXLEAST16             "X"  #define PRIXLEAST16             "X"             /* uint_least16_t */
 #define PRIXLEAST32             "X"  #define PRIXLEAST32             "X"             /* uint_least32_t */
 #define PRIXLEAST64             "llX"  #define PRIXLEAST64             "llX"           /* uint_least64_t */
   
 #define PRIXFAST8               "X"  #define PRIXFAST8               "X"             /* uint_fast8_t */
 #define PRIXFAST16              "X"  #define PRIXFAST16              "X"             /* uint_fast16_t */
 #define PRIXFAST32              "X"  #define PRIXFAST32              "X"             /* uint_fast32_t */
 #define PRIXFAST64              "llX"  #define PRIXFAST64              "llX"           /* uint_fast64_t */
   
 #define PRIXMAX                 "jX"  #define PRIXMAX                 "jX"            /* uintmax_t */
 #define PRIXPTR                 "lX"  #define PRIXPTR                 "lX"            /* uintptr_t */
   
 /* fscanf macros for signed integers */  /* fscanf macros for signed integers */
 #define SCNd8                   "hhd"  #define SCNd8                   "hhd"           /* int8_t */
 #define SCNd16                  "hd"  #define SCNd16                  "hd"            /* int16_t */
 #define SCNd32                  "d"  #define SCNd32                  "d"             /* int32_t */
 #define SCNd64                  "lld"  #define SCNd64                  "lld"           /* int64_t */
   
 #define SCNdLEAST8              "hhd"  #define SCNdLEAST8              "hhd"           /* int_least8_t */
 #define SCNdLEAST16             "hd"  #define SCNdLEAST16             "hd"            /* int_least16_t */
 #define SCNdLEAST32             "d"  #define SCNdLEAST32             "d"             /* int_least32_t */
 #define SCNdLEAST64             "lld"  #define SCNdLEAST64             "lld"           /* int_least64_t */
   
 #define SCNdFAST8               "hhd"  #define SCNdFAST8               "hhd"           /* int_fast8_t */
 #define SCNdFAST16              "hd"  #define SCNdFAST16              "hd"            /* int_fast16_t */
 #define SCNdFAST32              "d"  #define SCNdFAST32              "d"             /* int_fast32_t */
 #define SCNdFAST64              "lld"  #define SCNdFAST64              "lld"           /* int_fast64_t */
   
 #define SCNdMAX                 "jd"  #define SCNdMAX                 "jd"            /* intmax_t */
 #define SCNdPTR                 "ld"  #define SCNdPTR                 "ld"            /* intptr_t */
   
 #define SCNi8                   "hhi"  #define SCNi8                   "hhi"           /* int8_t */
 #define SCNi16                  "hi"  #define SCNi16                  "hi"            /* int16_t */
 #define SCNi32                  "i"  #define SCNi32                  "i"             /* int32_t */
 #define SCNi64                  "lli"  #define SCNi64                  "lli"           /* int64_t */
   
 #define SCNiLEAST8              "hhi"  #define SCNiLEAST8              "hhi"           /* int_least8_t */
 #define SCNiLEAST16             "hi"  #define SCNiLEAST16             "hi"            /* int_least16_t */
 #define SCNiLEAST32             "i"  #define SCNiLEAST32             "i"             /* int_least32_t */
 #define SCNiLEAST64             "lli"  #define SCNiLEAST64             "lli"           /* int_least64_t */
   
 #define SCNiFAST8               "hhi"  #define SCNiFAST8               "hhi"           /* int_fast8_t */
 #define SCNiFAST16              "hi"  #define SCNiFAST16              "hi"            /* int_fast16_t */
 #define SCNiFAST32              "i"  #define SCNiFAST32              "i"             /* int_fast32_t */
 #define SCNiFAST64              "lli"  #define SCNiFAST64              "lli"           /* int_fast64_t */
   
 #define SCNiMAX                 "ji"  #define SCNiMAX                 "ji"            /* intmax_t */
 #define SCNiPTR                 "li"  #define SCNiPTR                 "li"            /* intptr_t */
   
 /* fscanf macros for unsigned integers */  /* fscanf macros for unsigned integers */
 #define SCNo8                   "hho"  #define SCNo8                   "hho"           /* uint8_t */
 #define SCNo16                  "ho"  #define SCNo16                  "ho"            /* uint16_t */
 #define SCNo32                  "o"  #define SCNo32                  "o"             /* uint32_t */
 #define SCNo64                  "llo"  #define SCNo64                  "llo"           /* uint64_t */
   
 #define SCNoLEAST8              "hho"  #define SCNoLEAST8              "hho"           /* uint_least8_t */
 #define SCNoLEAST16             "ho"  #define SCNoLEAST16             "ho"            /* uint_least16_t */
 #define SCNoLEAST32             "o"  #define SCNoLEAST32             "o"             /* uint_least32_t */
 #define SCNoLEAST64             "llo"  #define SCNoLEAST64             "llo"           /* uint_least64_t */
   
 #define SCNoFAST8               "hho"  #define SCNoFAST8               "hho"           /* uint_fast8_t */
 #define SCNoFAST16              "ho"  #define SCNoFAST16              "ho"            /* uint_fast16_t */
 #define SCNoFAST32              "o"  #define SCNoFAST32              "o"             /* uint_fast32_t */
 #define SCNoFAST64              "llo"  #define SCNoFAST64              "llo"           /* uint_fast64_t */
   
 #define SCNoMAX                 "jo"  #define SCNoMAX                 "jo"            /* uintmax_t */
 #define SCNoPTR                 "lo"  #define SCNoPTR                 "lo"            /* uintptr_t */
   
 #define SCNu8                   "hhu"  #define SCNu8                   "hhu"           /* uint8_t */
 #define SCNu16                  "hu"  #define SCNu16                  "hu"            /* uint16_t */
 #define SCNu32                  "u"  #define SCNu32                  "u"             /* uint32_t */
 #define SCNu64                  "llu"  #define SCNu64                  "llu"           /* uint64_t */
   
 #define SCNuLEAST8              "hhu"  #define SCNuLEAST8              "hhu"           /* uint_least8_t */
 #define SCNuLEAST16             "hu"  #define SCNuLEAST16             "hu"            /* uint_least16_t */
 #define SCNuLEAST32             "u"  #define SCNuLEAST32             "u"             /* uint_least32_t */
 #define SCNuLEAST64             "llu"  #define SCNuLEAST64             "llu"           /* uint_least64_t */
   
 #define SCNuFAST8               "hhu"  #define SCNuFAST8               "hhu"           /* uint_fast8_t */
 #define SCNuFAST16              "hu"  #define SCNuFAST16              "hu"            /* uint_fast16_t */
 #define SCNuFAST32              "u"  #define SCNuFAST32              "u"             /* uint_fast32_t */
 #define SCNuFAST64              "llu"  #define SCNuFAST64              "llu"           /* uint_fast64_t */
   
 #define SCNuMAX                 "ju"  #define SCNuMAX                 "ju"            /* uintmax_t */
 #define SCNuPTR                 "lu"  #define SCNuPTR                 "lu"            /* uintptr_t */
   
 #define SCNx8                   "hhx"  #define SCNx8                   "hhx"           /* uint8_t */
 #define SCNx16                  "hx"  #define SCNx16                  "hx"            /* uint16_t */
 #define SCNx32                  "x"  #define SCNx32                  "x"             /* uint32_t */
 #define SCNx64                  "llx"  #define SCNx64                  "llx"           /* uint64_t */
   
 #define SCNxLEAST8              "hhx"  #define SCNxLEAST8              "hhx"           /* uint_least8_t */
 #define SCNxLEAST16             "hx"  #define SCNxLEAST16             "hx"            /* uint_least16_t */
 #define SCNxLEAST32             "x"  #define SCNxLEAST32             "x"             /* uint_least32_t */
 #define SCNxLEAST64             "llx"  #define SCNxLEAST64             "llx"           /* uint_least64_t */
   
 #define SCNxFAST8               "hhx"  #define SCNxFAST8               "hhx"           /* uint_fast8_t */
 #define SCNxFAST16              "hx"  #define SCNxFAST16              "hx"            /* uint_fast16_t */
 #define SCNxFAST32              "x"  #define SCNxFAST32              "x"             /* uint_fast32_t */
 #define SCNxFAST64              "llx"  #define SCNxFAST64              "llx"           /* uint_fast64_t */
   
 #define SCNxMAX                 "jx"  #define SCNxMAX                 "jx"            /* uintmax_t */
 #define SCNxPTR                 "lx"  #define SCNxPTR                 "lx"            /* uintptr_t */
   
 #endif /* __cplusplus || __STDC_FORMAT_MACROS */  #endif /* __cplusplus || __STDC_FORMAT_MACROS */
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9