VSF Documented
Macros
inttypes.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ PRId8

#define PRId8   "d" /* int8_t */

◆ PRId16

#define PRId16   "d" /* int16_t */

◆ PRId32

#define PRId32   "d" /* int32_t */

◆ PRId64

#define PRId64   "lld" /* int64_t */

◆ PRIdLEAST8

#define PRIdLEAST8   "d" /* int_least8_t */

◆ PRIdLEAST16

#define PRIdLEAST16   "d" /* int_least16_t */

◆ PRIdLEAST32

#define PRIdLEAST32   "d" /* int_least32_t */

◆ PRIdLEAST64

#define PRIdLEAST64   "lld" /* int_least64_t */

◆ PRIdFAST8

#define PRIdFAST8   "d" /* int_fast8_t */

◆ PRIdFAST16

#define PRIdFAST16   "d" /* int_fast16_t */

◆ PRIdFAST32

#define PRIdFAST32   "d" /* int_fast32_t */

◆ PRIdFAST64

#define PRIdFAST64   "lld" /* int_fast64_t */

◆ PRIdMAX

#define PRIdMAX   "jd" /* intmax_t */

◆ PRIdPTR

#define PRIdPTR   "ld" /* intptr_t */

◆ PRIi8

#define PRIi8   "i" /* int8_t */

◆ PRIi16

#define PRIi16   "i" /* int16_t */

◆ PRIi32

#define PRIi32   "i" /* int32_t */

◆ PRIi64

#define PRIi64   "lli" /* int64_t */

◆ PRIiLEAST8

#define PRIiLEAST8   "i" /* int_least8_t */

◆ PRIiLEAST16

#define PRIiLEAST16   "i" /* int_least16_t */

◆ PRIiLEAST32

#define PRIiLEAST32   "i" /* int_least32_t */

◆ PRIiLEAST64

#define PRIiLEAST64   "lli" /* int_least64_t */

◆ PRIiFAST8

#define PRIiFAST8   "i" /* int_fast8_t */

◆ PRIiFAST16

#define PRIiFAST16   "i" /* int_fast16_t */

◆ PRIiFAST32

#define PRIiFAST32   "i" /* int_fast32_t */

◆ PRIiFAST64

#define PRIiFAST64   "lli" /* int_fast64_t */

◆ PRIiMAX

#define PRIiMAX   "ji" /* intmax_t */

◆ PRIiPTR

#define PRIiPTR   "li" /* intptr_t */

◆ PRIo8

#define PRIo8   "o" /* int8_t */

◆ PRIo16

#define PRIo16   "o" /* int16_t */

◆ PRIo32

#define PRIo32   "o" /* int32_t */

◆ PRIo64

#define PRIo64   "llo" /* int64_t */

◆ PRIoLEAST8

#define PRIoLEAST8   "o" /* int_least8_t */

◆ PRIoLEAST16

#define PRIoLEAST16   "o" /* int_least16_t */

◆ PRIoLEAST32

#define PRIoLEAST32   "o" /* int_least32_t */

◆ PRIoLEAST64

#define PRIoLEAST64   "llo" /* int_least64_t */

◆ PRIoFAST8

#define PRIoFAST8   "o" /* int_fast8_t */

◆ PRIoFAST16

#define PRIoFAST16   "o" /* int_fast16_t */

◆ PRIoFAST32

#define PRIoFAST32   "o" /* int_fast32_t */

◆ PRIoFAST64

#define PRIoFAST64   "llo" /* int_fast64_t */

◆ PRIoMAX

#define PRIoMAX   "jo" /* intmax_t */

◆ PRIoPTR

#define PRIoPTR   "lo" /* intptr_t */

◆ PRIu8

#define PRIu8   "u" /* uint8_t */

◆ PRIu16

#define PRIu16   "u" /* uint16_t */

◆ PRIu32

#define PRIu32   "u" /* uint32_t */

◆ PRIu64

#define PRIu64   "llu" /* uint64_t */

◆ PRIuLEAST8

#define PRIuLEAST8   "u" /* uint_least8_t */

◆ PRIuLEAST16

#define PRIuLEAST16   "u" /* uint_least16_t */

◆ PRIuLEAST32

#define PRIuLEAST32   "u" /* uint_least32_t */

◆ PRIuLEAST64

#define PRIuLEAST64   "llu" /* uint_least64_t */

◆ PRIuFAST8

#define PRIuFAST8   "u" /* uint_fast8_t */

◆ PRIuFAST16

#define PRIuFAST16   "u" /* uint_fast16_t */

◆ PRIuFAST32

#define PRIuFAST32   "u" /* uint_fast32_t */

◆ PRIuFAST64

#define PRIuFAST64   "llu" /* uint_fast64_t */

◆ PRIuMAX

#define PRIuMAX   "ju" /* uintmax_t */

◆ PRIuPTR

#define PRIuPTR   "lu" /* uintptr_t */

◆ PRIx8

#define PRIx8   "x" /* uint8_t */

◆ PRIx16

#define PRIx16   "x" /* uint16_t */

◆ PRIx32

#define PRIx32   "x" /* uint32_t */

◆ PRIx64

#define PRIx64   "llx" /* uint64_t */

◆ PRIxLEAST8

#define PRIxLEAST8   "x" /* uint_least8_t */

◆ PRIxLEAST16

#define PRIxLEAST16   "x" /* uint_least16_t */

◆ PRIxLEAST32

#define PRIxLEAST32   "x" /* uint_least32_t */

◆ PRIxLEAST64

#define PRIxLEAST64   "llx" /* uint_least64_t */

◆ PRIxFAST8

#define PRIxFAST8   "x" /* uint_fast8_t */

◆ PRIxFAST16

#define PRIxFAST16   "x" /* uint_fast16_t */

◆ PRIxFAST32

#define PRIxFAST32   "x" /* uint_fast32_t */

◆ PRIxFAST64

#define PRIxFAST64   "llx" /* uint_fast64_t */

◆ PRIxMAX

#define PRIxMAX   "jx" /* uintmax_t */

◆ PRIxPTR

#define PRIxPTR   "lx" /* uintptr_t */

◆ PRIX8

#define PRIX8   "X" /* uint8_t */

◆ PRIX16

#define PRIX16   "X" /* uint16_t */

◆ PRIX32

#define PRIX32   "X" /* uint32_t */

◆ PRIX64

#define PRIX64   "llX" /* uint64_t */

◆ PRIXLEAST8

#define PRIXLEAST8   "X" /* uint_least8_t */

◆ PRIXLEAST16

#define PRIXLEAST16   "X" /* uint_least16_t */

◆ PRIXLEAST32

#define PRIXLEAST32   "X" /* uint_least32_t */

◆ PRIXLEAST64

#define PRIXLEAST64   "llX" /* uint_least64_t */

◆ PRIXFAST8

#define PRIXFAST8   "X" /* uint_fast8_t */

◆ PRIXFAST16

#define PRIXFAST16   "X" /* uint_fast16_t */

◆ PRIXFAST32

#define PRIXFAST32   "X" /* uint_fast32_t */

◆ PRIXFAST64

#define PRIXFAST64   "llX" /* uint_fast64_t */

◆ PRIXMAX

#define PRIXMAX   "jX" /* uintmax_t */

◆ PRIXPTR

#define PRIXPTR   "lX" /* uintptr_t */

◆ SCNd8

#define SCNd8   "hhd" /* int8_t */

◆ SCNd16

#define SCNd16   "hd" /* int16_t */

◆ SCNd32

#define SCNd32   "d" /* int32_t */

◆ SCNd64

#define SCNd64   "lld" /* int64_t */

◆ SCNdLEAST8

#define SCNdLEAST8   "hhd" /* int_least8_t */

◆ SCNdLEAST16

#define SCNdLEAST16   "hd" /* int_least16_t */

◆ SCNdLEAST32

#define SCNdLEAST32   "d" /* int_least32_t */

◆ SCNdLEAST64

#define SCNdLEAST64   "lld" /* int_least64_t */

◆ SCNdFAST8

#define SCNdFAST8   "d" /* int_fast8_t */

◆ SCNdFAST16

#define SCNdFAST16   "d" /* int_fast16_t */

◆ SCNdFAST32

#define SCNdFAST32   "d" /* int_fast32_t */

◆ SCNdFAST64

#define SCNdFAST64   "lld" /* int_fast64_t */

◆ SCNdMAX

#define SCNdMAX   "jd" /* intmax_t */

◆ SCNdPTR

#define SCNdPTR   "ld" /* intptr_t */

◆ SCNi8

#define SCNi8   "hhi" /* int8_t */

◆ SCNi16

#define SCNi16   "hi" /* int16_t */

◆ SCNi32

#define SCNi32   "i" /* int32_t */

◆ SCNi64

#define SCNi64   "lli" /* int64_t */

◆ SCNiLEAST8

#define SCNiLEAST8   "hhi" /* int_least8_t */

◆ SCNiLEAST16

#define SCNiLEAST16   "hi" /* int_least16_t */

◆ SCNiLEAST32

#define SCNiLEAST32   "i" /* int_least32_t */

◆ SCNiLEAST64

#define SCNiLEAST64   "lli" /* int_least64_t */

◆ SCNiFAST8

#define SCNiFAST8   "i" /* int_fast8_t */

◆ SCNiFAST16

#define SCNiFAST16   "i" /* int_fast16_t */

◆ SCNiFAST32

#define SCNiFAST32   "i" /* int_fast32_t */

◆ SCNiFAST64

#define SCNiFAST64   "lli" /* int_fast64_t */

◆ SCNiMAX

#define SCNiMAX   "ji" /* intmax_t */

◆ SCNiPTR

#define SCNiPTR   "li" /* intptr_t */

◆ SCNo8

#define SCNo8   "hho" /* uint8_t */

◆ SCNo16

#define SCNo16   "ho" /* uint16_t */

◆ SCNo32

#define SCNo32   "o" /* uint32_t */

◆ SCNo64

#define SCNo64   "llo" /* uint64_t */

◆ SCNoLEAST8

#define SCNoLEAST8   "hho" /* uint_least8_t */

◆ SCNoLEAST16

#define SCNoLEAST16   "ho" /* uint_least16_t */

◆ SCNoLEAST32

#define SCNoLEAST32   "o" /* uint_least32_t */

◆ SCNoLEAST64

#define SCNoLEAST64   "llo" /* uint_least64_t */

◆ SCNoFAST8

#define SCNoFAST8   "o" /* uint_fast8_t */

◆ SCNoFAST16

#define SCNoFAST16   "o" /* uint_fast16_t */

◆ SCNoFAST32

#define SCNoFAST32   "o" /* uint_fast32_t */

◆ SCNoFAST64

#define SCNoFAST64   "llo" /* uint_fast64_t */

◆ SCNoMAX

#define SCNoMAX   "jo" /* uintmax_t */

◆ SCNoPTR

#define SCNoPTR   "lo" /* uintptr_t */

◆ SCNu8

#define SCNu8   "hhu" /* uint8_t */

◆ SCNu16

#define SCNu16   "hu" /* uint16_t */

◆ SCNu32

#define SCNu32   "u" /* uint32_t */

◆ SCNu64

#define SCNu64   "llu" /* uint64_t */

◆ SCNuLEAST8

#define SCNuLEAST8   "hhu" /* uint_least8_t */

◆ SCNuLEAST16

#define SCNuLEAST16   "hu" /* uint_least16_t */

◆ SCNuLEAST32

#define SCNuLEAST32   "u" /* uint_least32_t */

◆ SCNuLEAST64

#define SCNuLEAST64   "llu" /* uint_least64_t */

◆ SCNuFAST8

#define SCNuFAST8   "u" /* uint_fast8_t */

◆ SCNuFAST16

#define SCNuFAST16   "u" /* uint_fast16_t */

◆ SCNuFAST32

#define SCNuFAST32   "u" /* uint_fast32_t */

◆ SCNuFAST64

#define SCNuFAST64   "llu" /* uint_fast64_t */

◆ SCNuMAX

#define SCNuMAX   "ju" /* uintmax_t */

◆ SCNuPTR

#define SCNuPTR   "lu" /* uintptr_t */

◆ SCNx8

#define SCNx8   "hhx" /* uint8_t */

◆ SCNx16

#define SCNx16   "hx" /* uint16_t */

◆ SCNx32

#define SCNx32   "x" /* uint32_t */

◆ SCNx64

#define SCNx64   "llx" /* uint64_t */

◆ SCNxLEAST8

#define SCNxLEAST8   "hhx" /* uint_least8_t */

◆ SCNxLEAST16

#define SCNxLEAST16   "hx" /* uint_least16_t */

◆ SCNxLEAST32

#define SCNxLEAST32   "x" /* uint_least32_t */

◆ SCNxLEAST64

#define SCNxLEAST64   "llx" /* uint_least64_t */

◆ SCNxFAST8

#define SCNxFAST8   "x" /* uint_fast8_t */

◆ SCNxFAST16

#define SCNxFAST16   "x" /* uint_fast16_t */

◆ SCNxFAST32

#define SCNxFAST32   "x" /* uint_fast32_t */

◆ SCNxFAST64

#define SCNxFAST64   "llx" /* uint_fast64_t */

◆ SCNxMAX

#define SCNxMAX   "jx" /* uintmax_t */

◆ SCNxPTR

#define SCNxPTR   "lx" /* uintptr_t */